ubuntu开root ssh登录
vi /etc/ssh/sshd_config
关配置:
PermitRootLogin prohibit-password
更改为:
PermitRootLogin yes
重启sshd:
systemctl restart sshd
vi /etc/ssh/sshd_config
关配置:
PermitRootLogin prohibit-password
更改为:
PermitRootLogin yes
重启sshd:
systemctl restart sshd