vi /etc/ssh/sshd_config
设置为密码登录方式
查找
PermitRootLogin no
改为yes
查找
PasswordAuthentication no
改为yes
保存
重启ssh服务
service sshd restart
479total visits,1visits today
vi /etc/ssh/sshd_config
设置为密码登录方式
查找
PermitRootLogin no
改为yes
查找
PasswordAuthentication no
改为yes
保存
重启ssh服务
service sshd restart
479total visits,1visits today
Leave a Reply