Skip to content

OpenSSH Client Connection #3355

@vankooch

Description

@vankooch

Dear WSL Team,

I've still problems using ssh-client on ubuntu (WSL). The problem is that I donn't get any connection up and running using ssh, but ping does work.

ssh works on windows via putty and git bash, also I've opened all needed firewall ports with no success.

server ip: 1.1.1.1
client ip: 2.2.2.2

ssh-client on ubuntu-wsl:

ssh -v -p55667 [email protected]
OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to server.com [1.1.1.1] port 55667.
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to server.com:55667 as 'user'
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 1.1.1.1 port 55667

On the remote server I get this logs:

Jul  5 13:50:59 repo sshd[49946]: Connection reset by 2.2.2.2 port 29939 [preauth]

I've no clue what goes wrong, I've checked other tickets with no success.

My Windows Version is:
Windows 10 Enterprise
Version 1803
OS Build: 17134.112

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions