修改
vi /etc/ssh/sshd_config
修改如下:密码登陆
PermitRootLogin yes
StrictModes no
PasswordAuthentication yes
重启 service sshd restart
出现 edirecting to /bin/systemctl restart sshd.service 即可
修改
vi /etc/ssh/sshd_config
修改如下:密码登陆
PermitRootLogin yes
StrictModes no
PasswordAuthentication yes
重启 service sshd restart
出现 edirecting to /bin/systemctl restart sshd.service 即可