Windows 10: cannot connect to Windows box via ssh anymore

Discus and support cannot connect to Windows box via ssh anymore in Windows 10 Ask Insider to solve the problem; For years I have had OpenSSH set up in windows 10 pro with little to no issue. With the occasional service being disabled by an update, I have had no... Discussion in 'Windows 10 Ask Insider' started by /u/projectzro, Mar 24, 2020.

  1. cannot connect to Windows box via ssh anymore


    For years I have had OpenSSH set up in windows 10 pro with little to no issue. With the occasional service being disabled by an update, I have had no trouble finding these kinds of issues and fixing them.

    For the last month I have not been able to get OpenSSH to work. I attempt to connect and the connection just closes. I have checked the firewall settings. Used microsofts recommended settings for it. Checked my router, regenerated my private key and wiped out the known hosts file to start new.



    NOTHING is working. The worst part is it wont log anything either. I an currently running sshd.exe -d in powershell as admin trying to connect and see if anything is erroring out. It gives me nothing. It says it is listening on 0.0.0.0 port 22. But no matter what I try I cant get anything but the local user to connect.

    What am I missing here? Are there logs I can look at? did KB4551762 (around the time it just stopped working) just break it? I am uninstalling it now just in case. But in the eventual event that that does not work, anyone have any suggestions before I throw my computer out of the window?

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

    :)
     
    /u/projectzro, Mar 24, 2020
    #1

  2. ssh and Windows 10 Not Working

    There are two desktop computers in my home:

    One running Debian Linux and one running Windows 10.

    They both access the Web through a wireless router (Verizon).

    The issue is that I cannot access the Windows box via ssh (OpenSSH or PuTTY).

    I am able to access the Linux box from the Windows box - via ssh (via both OpenSSH and PuTTY).



    For the sake of simplicity and in order to eliminate Linux from the equation, I tried:

    ssh localhost

    ssh 192.168.1.2

    ssh HOME



    ssh matt@localhost

    ssh matt@192.168.1.2

    ssh matt@ HOME

    (where localhost, 192.168.1.2, and HOME are all the Windows box).

    None of those 3 worked - either in PuTTY or in OpenSSH.

    I either get:

    Connection to localhost closed by remote host.

    Connection to localhost closed.



    Or I get:

    ssh: connect to host 192.168.1.2 port 22: Connection timed out

    -

    I wanted to make sure that I could access this PC from another in one way or another
    - so I went ahead and created a homegroup which this computer and another household Windows 10 (laptop) are part of. That other Windows 10 PC
    is able to access this PC (and, for what it's worth, this PC can access the laptop).

    Note that a firewall runs on the Windows box. But I get the same results whether it's up or down.

    Anyone know what's going on?

    TIA, Matt
     
    ManThisIsReallyBizarre, Mar 24, 2020
    #2
  3. Cheap Photo box that will get the job done

    WEll i took on this project for PP hes a hardware reviewer and wants to get the professional looking pics for the Pc parts

    Materials:
    • Big cardboard box
    • a razor
    • white material 3 yards
    • cone lights
    • stapler
    • medical tape
    • pvc pipe about 6 inches longer than your box
    • white paint any cheap finger paint would work
    the project I'm guessing will cost me $30 if it works out properly
    I will post pictures and step by step as i do it
     
    MomentoMoir, Mar 24, 2020
    #3
  4. cannot connect to Windows box via ssh anymore

    Cheap Photo box that will get the job done

    keep us posted. i'll be interested in this as i've been wanting to do one for a while.
     
    Chicken Patty, Mar 24, 2020
    #4
Thema:

cannot connect to Windows box via ssh anymore

Loading...
  1. cannot connect to Windows box via ssh anymore - Similar Threads - cannot connect box

  2. Cannot project my PC to TV via wireless connection anymore

    in Windows 10 Gaming
    Cannot project my PC to TV via wireless connection anymore: I have a smart TV and I can connect my laptop via project screen wireless connection, this was working fine and one day it would not connect, so I tried troubleshooting and somebody told me to press windows button plus the K button which I did and it brought up a menu to...
  3. Cannot project my PC to TV via wireless connection anymore

    in Windows 10 Software and Apps
    Cannot project my PC to TV via wireless connection anymore: I have a smart TV and I can connect my laptop via project screen wireless connection, this was working fine and one day it would not connect, so I tried troubleshooting and somebody told me to press windows button plus the K button which I did and it brought up a menu to...
  4. Can't connect to Windows11 via ssh from ubnutu

    in Windows 10 Gaming
    Can't connect to Windows11 via ssh from ubnutu: I tried to connect my windows11 from another computerubuntu with same network but it can't be done. It's shown result: Permission Denied publickey, keyboard-interactive. On the other hand, I can connect from my windows 11 to another computer in same network. I tried all...
  5. Can't connect to Windows11 via ssh from ubnutu

    in Windows 10 Software and Apps
    Can't connect to Windows11 via ssh from ubnutu: I tried to connect my windows11 from another computerubuntu with same network but it can't be done. It's shown result: Permission Denied publickey, keyboard-interactive. On the other hand, I can connect from my windows 11 to another computer in same network. I tried all...
  6. w11 + ssh connections

    in Windows 10 Gaming
    w11 + ssh connections: Hello !!SSH connections doesn't work on w11.... I try mobaxterm, mremoteng et ssh on powershell.W11 version 21H2 build 22000.194 https://answers.microsoft.com/en-us/windows/forum/all/w11-ssh-connections/af2d2831-cf8f-4a5c-891b-3b65fcdf8987
  7. Ssh connection

    in Windows 10 Network and Sharing
    Ssh connection: How could I connect to my PC using ssh if I protect it using pin? What the password must be in that case?If I try to use pin I have the output like this:>>maxim@10.0.1.164's password: >>Permission denied, please try again.If i try to use my microsoft account password result...
  8. Cannot connect to Ubuntu server from Windows 10 via ssh

    in Windows 10 Network and Sharing
    Cannot connect to Ubuntu server from Windows 10 via ssh: Hello, I have a raspberry pie running ubuntu server 2020 and would like to connect to it via ssh directly from Windows 10. In order, for instance, to mount an ftp and view, edit directly files with vscode or atom without going through WSL. While I have no problem...
  9. Lanciare applicazioni grafiche via ssh

    in Windows 10 Network and Sharing
    Lanciare applicazioni grafiche via ssh: Buongiorno a tutti Nella mia azienda abbiamo necessità di lanciare dei programmi Labview e in generale programmi grafici, via scripting lanciato con ssh. Non riusciamo ad ottenere la cosa utilizzando OpenSSH Server di Windows 10, perché non riesce a lanciare alcuna...
  10. Launching Graphical Application via ssh

    in Windows 10 Network and Sharing
    Launching Graphical Application via ssh: Good Morning, It is possible to open windows application read as "graphical application" launching them via a ssh connection from another Computer? My company needs to open automatically different programs in many different computer. For this reason, we would like to use...