修改要连接的linux服务器下的/etc/ssh/sshd_config目录
PasswordAuthentication no改为PasswordAuthentication yes
ssh错误: Permission denied (publickey)
然后运行 sudo /etc/init.d/ssh restart 就可以ssh远程连接该服务器了

相关文章: