ssh无密码登陆服务器

2016-12-11  本文已影响11人  hayao650

ssh-keygen生成公钥私钥
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
这样就可以不使用密码登录远程服务器

上一篇 下一篇

猜你喜欢

热点阅读