我正在 VMWare 中安装的 CentOS7 中尝试无密码 SSH。我按照此链接中的步骤操作,但在使用 ssh 时遇到了问题。下面是日志:
[root@osboxes ~]# ssh root@localhost
root@localhost's password:
Last login: Wed Sep 21 16:02:39 2016 from localhost.localdomain
[root@osboxes ~]# ssh -v root@localhost
OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type …Run Code Online (Sandbox Code Playgroud)