ssh 账号密码登录设置

找到/etc/ssh/sshd_config文件中的 PasswordAuthentication no 改为PasswordAuthentication yes 并保存。
重启ssh服务:sudo service sshd restart

posted @ 2019-08-17 03:27  何大卫  阅读(10113)  评论(0编辑  收藏  举报