Mac 终端免密登陆服务器

2019-08-16  本文已影响0人  熊航

ssh-copy-id root@服务器IP
然后输入密码即可

获取本地公钥 cat ~/.ssh/id_rsa.pub

上一篇 下一篇

猜你喜欢

热点阅读