目录

菠萝🍍的博客

有谁不喜欢吃菠萝呢

标签: ssh (1)

linux的几种基操

Linux服务器连接另一个linux服务器 ssh root@192.168.0.30//登录 exit //登出 在服务器集群环境中,通过ssh免密码登录 ssh会产生私钥和公钥,对方通过公钥进行加密字符串,然后通过私钥进行解密 在本机生成密钥 [root@iZdpqkd3lvx9ncZ ~]# ssh-keygen //生成密钥 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: SHA256:oZ1x3AP1WHCIdxuf....