ubuntu/debian 安装和卸载SSH,并开启
时间:2020-02-16 19:25:56
收藏:0
阅读:623
注意:如果使用的是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
原文:https://www.cnblogs.com/xlpc/p/12317740.html
评论(0)