出于安全考虑,linux server应该用密钥方式登录。
需要禁止密码登录。
修改 sshd_config 然后重启sshd服务。
PasswordAuthentication no service sshd restart
「人生在世,留句话给我吧」