ssh:Permission denied, please try again.

原因1:没有修改/etc/ssh/sshd_config

将
#PasswordAuthentication yes
改为
PasswordAuthentication yes
把# PermitRootLogin no
改为PermitRootLogin yes
重启ssh服务

service ssh restart

原因2:远程登录选择的用户名不对

 

这里一定要选择存在的用户名称!!!

猜你喜欢

转载自blog.csdn.net/weever7/article/details/129136727