ubuntu 设置允许ssh远程连接

1. 支持ssh root连接,在文献中提到的 sudo vim /etc/ssh/sshd_config
  • 底部插入

PermitRootLogin yes

  • ssh重启

sudo service ssh restart

相关文章: