Unable to connect to Cygwin from Mac OS X by ssh
- by skyjack
I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error:
./ssh username@hostname -v
OpenSSH_6.6, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug1: Connecting to hostname [my ip] port 22.
debug1: Connection established.
debug1: identity file /Users/skyjack/.ssh/id_rsa type -1
debug1: identity file /Users/skyjack/.ssh/id_rsa-cert type -1
debug1: identity file /Users/skyjack/.ssh/id_dsa type -1
debug1: identity file /Users/skyjack/.ssh/id_dsa-cert type -1
debug1: identity file /Users/skyjack/.ssh/id_ecdsa type -1
debug1: identity file /Users/skyjack/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/skyjack/.ssh/id_ed25519 type -1
debug1: identity file /Users/skyjack/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6
ssh_exchange_identification: read: Connection reset by peer
Meanwhile I can connect successfully from Red Hat.
OpenSSH version on Cygwin:
OpenSSH_6.4p1, OpenSSL 1.0.1f 6 Jan 2014
OpenSSH version on MAC OS X:
OpenSSH_6.6p1, OpenSSL 1.0.1g 7 Apr 2014
Please advice.