vim /etc/ssh/sshd_config
# PermitRootLogin Without-password
PermitRootLogin yes
# PasswordAuthentication no
PasswordAuthentication yes
systemctl restart ssh
ubuntu允许root远程登陆sftp
最新推荐文章于 2024-05-09 09:13:41 发布
vim /etc/ssh/sshd_config
# PermitRootLogin Without-password
PermitRootLogin yes
# PasswordAuthentication no
PasswordAuthentication yes
systemctl restart ssh