mattshma/docs

ssh登录机器无法输密码

Closed this issue · 0 comments

ssh到远程服务器时,只能以key登录,不让输入密码登录,修改/etc/ssh/sshd_config,将PasswordAuthentication设置为yes,重启sshd即可。