# 修改ssh配置文件
sudo vim /etc/ssh/sshd_config

配置如下

LoginGraceTime 2m
PermitRootLogin yes 
StrictModes yes

设置Ubuntu允许Root直连

# 重启ssh守护进程
sudo service ssh restart

相关文章:

  • 2022-12-23
  • 2021-08-11
  • 2022-01-10
  • 2022-02-07
  • 2021-08-18
  • 2022-12-23
  • 2021-12-18
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-10-19
  • 2021-10-01
相关资源
相似解决方案