确认本机sshd的配置文件(需要root权限)vi /etc/ssh/sshd_config找到以下内容,并去掉注释符“#”RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys如果修改了配置文件需要重启sshd服务(需要root权限)service sshd restart &l

- 阅读全文 -