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
本文共 258 字,大约阅读时间需要 1 分钟。
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
转载于:https://www.cnblogs.com/gwind/p/8018944.html