在Debian/Ubuntu命令行执行:

sudo apt-get update
sudo apt-get install ssh
sudo apt-get install openssh-server
// 安装完成之后,修改下配置文件: /etc/ssh/sshd_config
// 基本上不用做什么操作,如果想用 root 登录,需要把 PermitRootLogin 的值改为 yes
// 然后重启服务
sudo service sshd restart

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2021-07-23
  • 2021-10-08
猜你喜欢
  • 2021-10-29
  • 2021-07-08
  • 2021-10-19
  • 2021-10-19
  • 2021-10-19
  • 2022-12-23
相关资源
相似解决方案