首页 > 技术文章 > ssh免密登陆
forlive 2020-02-14 18:29 原文
1.在客户端使用ssh-keygen生成ssh登陆公私钥
2.在客户端使用命令ssh-copy-id root@服务端IP输入密码就行了