ssh连接ubuntu on windows(wsl)
首先是卸载重装一遍ssh服务,虽然安装ubuntu时已经自动安装了,但是自动安装的有问题。
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
编辑sshd_config文件,修改几处配置才能正常使用用户名/密码的方式连接
sudo vi /etc/ssh/sshd_config
...
原创
2019-10-28 19:38:48 ·
849 阅读 ·
0 评论