摘要: 无需要密码登录 linux 服务器并运行命令。 ssh-keygen -t rsa # 分别在两台电脑上运行此命令, 生成密匙 scp -p ~/.ssh/id_rsa.pub root@IP:/root/.ssh/authorized_keys # 上传本地公钥到服务器 ssh root@IP " 阅读全文
posted @ 2018-07-30 21:17 程序媛李李李李蕾 阅读(775) 评论(0) 推荐(0)