Linked Questions
9 questions linked to/from SSH into WSL from another machine on the network
0
votes
0
answers
22
views
connect two Windows 10 PCs with Linux subsystem via SSH [duplicate]
I have a two Windows 10 PCs with Linux subsystem running Ubuntu. I'd like to connect from one to another via SSH. Would it even be possible? I've already tried PuTTY and it crashed when I runned it.
21
votes
3
answers
40k
views
How to connect to Windows subsystem for Linux from another machine within network?
I set up my Ubuntu WSL instance and am running an SSH server on it. However, when I do ifconfig on the Ubuntu console, my Ipv4 is 172.26.66.223, which is different from my regular machine's ipv4 192....
6
votes
1
answer
20k
views
localhost and 127.0.0.1 working but not ip address in wsl windows 10
I recently switched from Linux to WSL2 (Ubuntu 20.04) on Windows 10. When I run any NodeJs application or a server like Apache or Nginx everything works fine on localhost or 127.0.0.1 but doesn't work ...
6
votes
1
answer
2k
views
Adding parameters to DefaultShell in Windows OpenSSH Server (e.g. powershell.exe -NoLogo)
I have Windows OpenSSH server installed and working properly. I can change the default shell that is ssh'd into using HKLM:\SOFTWARE\OpenSSH and adding a DefaultShell property as described here.
So ...
2
votes
3
answers
5k
views
WSL2 172.XXX.XXX.XXX ip address thing
Got a WSL2 Kali-linux machine on my windows.
For some reason WSL2 has issues with network adapters. It only shows a specific network adapter with an address of 172.xxx.xxx.xxx.
The problem is I can't ...
0
votes
1
answer
5k
views
ssh into WSL2 works on only some IP addresses
On Win10, in WSL 2 running Ubuntu 20, I've installed sshd running on a port different from 22, namely 2222. To the firewall I've added an incoming rule for TCP port 2222.
From the windows command ...
2
votes
1
answer
4k
views
User Home in WSL 2 vs Windows User Confusion
I have a bit of a confusion using WSL 2 on my Windows 10 machine regarding user names.
When I installed Windows 10 using my Microsoft Account, it created the user phili.
When I am in a powershell, the ...
2
votes
0
answers
4k
views
How can I directly SSH into the WSL on my Windows 10 machine from another machine (a Mac) on my network?
The IP of my Windows 10 machine is 192.168.3.108 and the IP of my Mac is 192.168.3.100.
WSL on my Windows 10 gives this, running SSHD:
>wsl hostname -I
172.29.152.15
How can I directly SSH into ...
0
votes
0
answers
813
views
Why are SSH connections being blocked when using internal IPs on windows Linux subsystem?
I setup ubuntu linux subsystem on my windows 11 machine, and configured SSH on it, to allow other devices on my network to connect to it.
It works when I am trying to connect from the same computer:
...