注意:如果使用的是WSL安装的ubuntu/debian,那么你需要先卸载:
#sudo apt remove openssh-server
#sudo apt install openssh-server
安装完成后SSH 服务默认开启
手动启动:
#systemctl start ssh.service
修改配置:
nano /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes

相关文章:

  • 2021-08-25
  • 2021-11-03
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2021-11-04
  • 2021-11-06
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案