1
Xshell 连接 WSL
source link: https://www.jansora.com/notebook/168
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
卸载 ssh server
sudo apt-get remove openssh-server
安装 ssh server
sudo apt-get install openssh-server
修改 ssh server 配置
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vim /etc/ssh/sshd_config
写入:
Port 22
如果有端口占用可以自己修改
PasswordAuthentication yes
(允许用户名密码方式登录)
重启服务:
sudo service ssh restart
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK