Terminus 远程连接 WSL2
# 卸载 ssh server sudo apt-get purge openssh-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 --full-restart
相关推荐
STchaoL 2020-07-05
projava 2020-11-14
WanKaShing 2020-11-12
airfish000 2020-09-11
tryfind 2020-09-14
yegen00 2020-09-10
kkaazz 2020-09-03
风语者 2020-09-02
BraveWangDev 2020-08-19
lichuanlong00 2020-08-15
gsl 2020-08-15
pandaphinex 2020-08-09
yhuihon 2020-08-09
CheNorton 2020-08-02
xiangqiao 2020-07-28
hpujsj 2020-07-26
hpujsj 2020-07-26
sshong 2020-07-19
BraveWangDev 2020-07-19