ssh免密登陆

1.在客户端使用ssh-keygen生成ssh登陆公私钥

2.在客户端使用命令ssh-copy-id root@服务端IP输入密码就行了

posted @ 2020-02-14 18:29  ForLivetoLearn  阅读(150)  评论(0编辑  收藏  举报