摘要: ssh出现permission denied (publickey)问题: 修改/etc/ssh/sshd-config文件.将其中的PermitRootLogin no修改为yesPubkeyAuthentication yes修改为noAuthorizedKeysFile .ssh/authorized_keys前面加上#屏蔽掉,PasswordAuthentication no修改为yes就可以了。 重启sshd即可:service sshd restart血泪教训:PubkeyAuthentication修改为no将导致ssh登录不了!!! 阅读全文
posted @ 2013-08-26 14:47 小生一直跑 阅读(1892) 评论(0) 推荐(0)