Windows 10: Cannot connect to Ubuntu server from Windows 10 via ssh

Discus and support Cannot connect to Ubuntu server from Windows 10 via ssh in Windows 10 Network and Sharing to solve the problem; 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... Discussion in 'Windows 10 Network and Sharing' started by MzHur, Apr 11, 2021.

  1. MzHur Win User

    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 connecting to it from WSL Ubuntu after configuration; I cannot directly from Windows 10.

    From WSL, everything works seamless: short ping, stable ssh connection with authentication.
    From Windows, ssh -vvv command fails debug3: finish_connect - ERROR: async io completed with error: 10013, ping fails General Failure, Putty as well Network error: permission denied

    Tried so far all the following:
    - Reinstall openssh on windows following this guide https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse,
    - Network and Firewall reset,

    - Deactivating anti-virus,

    - Adding Port 22 Exception Rules to Firewall for TCP communication Inbound & Outbound


    Raspberry is on same private network 192.168.X, and discovery is allowed on windows side.


    Many posts can be found with similar issues, so it must be common; but every answer I found so far did not work in my case.

    Any help is welcome if you know where the issue could be. Many thanks in advance

    :)
     
    MzHur, Apr 11, 2021
    #1

  2. ssh Server for Windows 10?

    Hi ,

    are there any news regarding ssh Server for Windows 10 ?
     
    Nicolae Petridean, Apr 11, 2021
    #2
  3. dm76752 Win User
    SSH to Ubuntu using Windows 10

    When I understand right you are trying to connect from bash on Ubuntu on windows to your amazon ubuntu server.

    1. I am not using putty with pem files but the standard way to provide login without password is an rsa key (see at digitalocean Tutorials:- How To Set Up SSH Keys)
    2. The error message points out the pem file are not accessible. So the first steps are to make sure the file is there (or you can copy it to your home directory for testing purposes) and is accessible.
     
    dm76752, Apr 11, 2021
    #3
  4. Cannot connect to Ubuntu server from Windows 10 via ssh

    SSH client/server? VPN? RDP?


    Howdy,



    I run OpenSSH client and server on my N900. I use the SSH server connect into my N900 and control it via the x11vnc server.



    I also use OpenConnect VPN client to connect into my Cisco ASA firewall using SSL VPN. I sometimes use rdesktop to RDP to Widows machines on the network.



    All of these programs are on the Maemo Extras-Devel repository.



    Check out this link and go to the "How to activate Extras-devel" section:

    Extras-devel - maemo.org wiki



    Works like a charm.



    Hope this helps.





    Cheers,

    Chris
     
    cnicola---01, Apr 11, 2021
    #4
Thema:

Cannot connect to Ubuntu server from Windows 10 via ssh

Loading...
  1. Cannot connect to Ubuntu server from Windows 10 via ssh - Similar Threads - Cannot connect Ubuntu

  2. Problem with ssh to a unix server from Window 10 or 11

    in Windows 10 Gaming
    Problem with ssh to a unix server from Window 10 or 11: I have a MIT Kerberos ticket. I have also established a VPN connection.I can login to a UNIX server at work using PuTTY on my Windows Desktop.But I cannot login to the same UNIX server using Visual Studio Code from the same Windows Desktop.I get Permission denied...
  3. Problem with ssh to a unix server from Window 10 or 11

    in Windows 10 Software and Apps
    Problem with ssh to a unix server from Window 10 or 11: I have a MIT Kerberos ticket. I have also established a VPN connection.I can login to a UNIX server at work using PuTTY on my Windows Desktop.But I cannot login to the same UNIX server using Visual Studio Code from the same Windows Desktop.I get Permission denied...
  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. SSH connection From Mac to WSL2 ubuntu bash

    in Windows 10 Gaming
    SSH connection From Mac to WSL2 ubuntu bash: Hi there, I enabled ssh connection from a Mac to WSL2 ubuntu following these steps-> https://www.hanselman.com/blog/the-easy-way-how-to-ssh-into-bash-and-wsl2-on-windows-10-from-an-external-machineThe first connection works well, but after terminating the session and start...
  7. SSH connection From Mac to WSL2 ubuntu bash

    in Windows 10 Software and Apps
    SSH connection From Mac to WSL2 ubuntu bash: Hi there, I enabled ssh connection from a Mac to WSL2 ubuntu following these steps-> https://www.hanselman.com/blog/the-easy-way-how-to-ssh-into-bash-and-wsl2-on-windows-10-from-an-external-machineThe first connection works well, but after terminating the session and start...
  8. OpenSSH SSH server from unknown manufacturer

    in Windows 10 Customization
    OpenSSH SSH server from unknown manufacturer: I recently I got hit by Virus:Win32/Neshta.A, I had to disable some services to get my PC running again, I came across a service called "OpenSSH SSH server" from an unknown manufacturer, shlould I leave it disabled and try to get rid of it?...
  9. cannot connect to Windows box via ssh anymore

    in Windows 10 Ask Insider
    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...
  10. Cannot access a server on Windows 10 using ssh key

    in Windows 10 Network and Sharing
    Cannot access a server on Windows 10 using ssh key: I successfully connected to the server on Linux but I could not connect to the same server with the same ssh keys that I copied to my Windows 10 computer. I have already did a lot of research on forums regarding this problem but could not find the answer. Here is the debug...

Users found this page by searching for:

  1. windows ssh cant connect ubuntu

    ,
  2. cannot connect to ubuntu server from windows