Windows 10: SSH to wsl 2

Discus and support SSH to wsl 2 in Windows 10 Ask Insider to solve the problem; Anyone know how to get ssh to work in windows wsl 2? I've followed some guides, but I'm still getting connection refused when I try to ssh into my... Discussion in 'Windows 10 Ask Insider' started by /u/MrDroo, Aug 7, 2020.

  1. /u/MrDroo Win User

    SSH to wsl 2


    Anyone know how to get ssh to work in windows wsl 2? I've followed some guides, but I'm still getting connection refused when I try to ssh into my windows ip, or it just hangs when I ssh into the wsl ip

    submitted by /u/MrDroo
    [link] [comments]

    :)
     
    /u/MrDroo, Aug 7, 2020
    #1

  2. How can I SSH into my WSL bash shell from an external enviroment

    Hi,

    I work between three different machines

    Windows 10 Laptop - using WSL

    Mac OS X

    Linux Ubuntu server - accessed via a console from a Linux machine

    I have files stored in all these locations.

    WSL - only used for editing files when I don't have access to primary dev environment

    Mac OS X - used for Adobe software

    Linux server - live environment

    I need to access, pull, push and edit files/directories in all these locations. I can do this between the Linux box and Mac OS X easily using SSH but I don't seem able to find a way to SSH into the WSL on my W10 laptop.

    Is this possible? If indeed it is possible, can you link me to the help materials for setting this up please. Pretty new to the WSL so sorry for the stupid noob question.

    Thanks

    Jay
     
    JayTelford, Aug 7, 2020
    #2
  3. NickJP Win User
    Cannot upgrade installed distros in WSL to version 2

    After installing the Win10 2004 build 19041 update (running winver shows "version 2004 (OS build 19041.388)", I've tried to upgrade a couple of installed distros I had in WSL version 1 to WSL version 2 following the instructions at https://docs.microsoft.com/en-us/win.../install-win10. All the steps in the instructions compete successfully, up to the point where I try to change the WSL version of one of the installed distros to 2 at which point I see the messages below:

    Code:
    I have enabled the Virtual Machine Platform feature (it shows as on with a tick against it in Control Panel Windows features), Intel-vt virtualization is enabled in the BIOS, and running msinfo32 shows, at the bottom of the system summary listing:

    Code:
    I also tried installing another distro with the WSL default version set to 2, but attempting to launch it shows the error:

    Code:
    Any suggestions on how to get around this problem? From what I've read, WSL2 gives worthwhile speed increases over WSL1, and so is worth using if I can get it to work.
     
    NickJP, Aug 7, 2020
    #3
  4. swarfega Win User

    SSH to wsl 2

    swarfega, Aug 7, 2020
    #4
Thema:

SSH to wsl 2

Loading...
  1. SSH to wsl 2 - Similar Threads - SSH wsl

  2. I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I...

    in Windows 10 Gaming
    I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I...: I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I can't get on the Microsoft app store!This means I can not play MineCraft either nor Install HexChat or live my life!Microsoft how dare you!It's my right to be able to encrypt my...
  3. I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I...

    in Windows 10 Software and Apps
    I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I...: I am on a Linode SSH PUTTY TUNNEL SOCKS PROXY, I can't get off it, And because of this I can't get on the Microsoft app store!This means I can not play MineCraft either nor Install HexChat or live my life!Microsoft how dare you!It's my right to be able to encrypt my...
  4. ssh login to Microsoft account linked Windows impossible

    in Windows 10 Software and Apps
    ssh login to Microsoft account linked Windows impossible: Is there a way to ssh into a Microsoft account linked windows 10?I have installed all the required features like OpenSSH-Server. When you try to login, it pops up for user password and never recognize any of my passwords; that includes my windows 10's password and the linked...
  5. ssh login to Microsoft account linked Windows impossible

    in Windows 10 Gaming
    ssh login to Microsoft account linked Windows impossible: Is there a way to ssh into a Microsoft account linked windows 10?I have installed all the required features like OpenSSH-Server. When you try to login, it pops up for user password and never recognize any of my passwords; that includes my windows 10's password and the linked...
  6. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Gaming
    Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server: Hello, I am attempting to set up SSH key-based authentication to log into a Linux server from my Windows 10 machine. While I am able to login using a password, my goal is to enable public key login to avoid using a password each time.Linux SideThe public key has been added to...
  7. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Software and Apps
    Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server: Hello, I am attempting to set up SSH key-based authentication to log into a Linux server from my Windows 10 machine. While I am able to login using a password, my goal is to enable public key login to avoid using a password each time.Linux SideThe public key has been added to...
  8. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Network and Sharing
    Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server: Hello, I am attempting to set up SSH key-based authentication to log into a Linux server from my Windows 10 machine. While I am able to login using a password, my goal is to enable public key login to avoid using a password each time.Linux SideThe public key has been added to...
  9. SSH client can't access WSL

    in Windows 10 Ask Insider
    SSH client can't access WSL: Hi! I'm connecting to my pc over ssh form my iPad. so far it works, but i need to open the ubuntu shell. Normally, in the cmd/pwsh i just type "ubuntu" and it works, but over ssh i'm getting this error: Program "ubuntu.exe" failed to run: The file cannot be accessed by the...
  10. How to ssh into WSL 2 Ubuntu?

    in Windows 10 Ask Insider
    How to ssh into WSL 2 Ubuntu?: Please would someone be so kind as to provide a clear and neat set up for ssh-ing from an external machine into WSL 2, and that doesn't need re-doing each time the machine is restarted. TL;DR Please do not point me to a blog article unless you are *certain* it worked for...