ssh 账号密码登录设置

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

猜你喜欢

转载自www.cnblogs.com/heenhui2016/p/11367205.html