wsl连接xshell

1.打开wsl终端查看IP(inet)

ifconfig

wsl连接xshell

2.修改ssh配置文件

sudo vim /etc/ssh/sshd_config

取消这两行的注释

Port 22             
PasswordAuthentication yes     

3,打开xshll,点击新建会话,主机名需要和IP一样

wsl连接xshell

4.双击会话,输入用户名密码进行连接

wsl连接xshell
wsl连接xshell

5.大功告成

wsl连接xshell

上一篇:The 5th tip of DB Query Analyzer


下一篇:数据表格 - DataGrid - 行编辑