mac无法自动登录
来源:5-6 SSH免密登录
Zoro4117241
2018-03-25
mac已经添加公钥和私钥,退出后还是需要输入密码,终端输出:
[root@localhost .ssh]# ssh-add ~/.ssh/glc_rsa
Identity added: /root/.ssh/glc_rsa (/root/.ssh/glc_rsa)
[root@localhost .ssh]# cd ~
[root@localhost ~]# exit
登出
Connection to 192.168.x.x closed.
ccdeMac:~ glc$ ssh root@192.168.x.x
root@192.168.x.x's password:
写回答
1回答
-
编程浪子
2018-03-26
把公钥放到你要登录的机器上,在本地电脑加载 公钥
00
相似问题