ssh username@ip
密码正确但是登陆ssh时permission denied
1、 启动sshd:/etc/init.d/ssh start
2、 在/etc/ssh/sshd_config:PermitRootLogin,PubkeyAuthentication,PasswordAuthenticaton都改为yes
3、 重新启动sshd:/etc/init.d/ssh restart
posted on 2017-12-11 00:19 gwind 阅读(156) 评论(0) 编辑 收藏 举报