Unable to connect to Cygwin from Mac OS X by ssh

Posted by skyjack on Super User See other posts from Super User or by skyjack
Published on 2014-06-08T15:25:50Z Indexed on 2014/06/08 15:30 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

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.

© Super User or respective owner

Related posts about osx

Related posts about ssh