- Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
在这个页面不小心看到了原因:
http://serverfault.com/questions/230771/ssh-configuration-publickeys-permission-denied-publickey-password-error
又是TM的SELinux惹的祸,关闭SELinux解决问题:
暂时关闭(重启后恢复):
- setenforce 0
永久关闭(需要重启):
- vi /etc/selinux/config
- SELINUX=disabled