

使用putty等ssh客户端工具连接wsl
source link: https://www.80shihua.com/archives/2723
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.

使用putty等ssh客户端工具连接wsl
正常情况下我们会使用windows terminal 来连接wsl或者我们直接使用ubuntu应用启动图标来连接,那么有没有其它的方式来连接呢,毕竟是linux系统,它是支持ssh连接的。
答案是肯定的,我们可以通过设置ssh配置来连接。
vi /etc/ssh/sshd_config 修改ssh配置文件
PermitRootLogin yes PasswordAuthentication yes
重启ssh服务器
service ssh restart
最后,使用127.0.0.1这个ip就可以访问windows sub linux 系统了。
Recommend
-
32
第二章 | 2.3 ssh常用客户端工具介绍
-
10
Home → azure → Putty for Linux Azure SSH authentication Putty for Linux Azure SSH authentication I created my first Linux...
-
5
卸载 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/sour...
-
7
请问如何 ssh 到家里的 WSL 上? 关于 · 帮助文档 · API ·
-
6
Configuring SSH access into WSL 1 and WSL 2 February 27, 2022 · About 7 minutes · Tags: lab-notes, windows
-
8
Windows 用户可以使用 PuTTY(读 [ˈpʌti] )连接 VPS。 macOS 用户可以使用苹果电脑自带的终端(Terminal)连接 VPS。
-
5
SSH无密码登录及putty设置 2018-04-04 发布在
-
6
使用 Vim 作为 SSH 客户端 在 Windows 下之前一直使用 xshell 作为 ssh 客户端。自从 Neovim 和 Vim 都增加了内置终端后,于是就把 xshell 这个软解卸载了。使用 Neovim 内置的函数来实现 SSH 连接。 首先,需要启用 SpaceVim 的 ssh 模块...
-
9
【WSL】WSL折腾之旅(3)SSH远程连接前篇已设置默认为root用户,故所有命令省略sudo,非root用户需在命令前自行添加sudo1. ssh配置1.1 ssh服务安装Ubuntu20...
-
5
Nicksxs's BlogWhat hurts more, the pain of hard work or the pain of regret?在 wsl 2 中开启 ssh 连接 20...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK