注意:如果使用的是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
ubuntu/debian 安装和卸载SSH,并开启
猜你喜欢
转载自www.cnblogs.com/xlpc/p/12317740.html
今日推荐
周排行