Skip to content

Instantly share code, notes, and snippets.

@kradalby
Created January 20, 2015 16:42
Show Gist options
  • Save kradalby/078b44efd6e136762571 to your computer and use it in GitHub Desktop.
Save kradalby/078b44efd6e136762571 to your computer and use it in GitHub Desktop.
ssh Protocol mismatch
kradalby at kramacbook in ~/git/plays (master)
$ ssh root@abra -W 192.168.1.10:21337 -v
OpenSSH_6.7p1, OpenSSL 1.0.1k 8 Jan 2015
debug1: Reading configuration data /Users/kradalby/.ssh/config
debug1: /Users/kradalby/.ssh/config line 88: Applying options for abra
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug1: Hostname has changed; re-reading configuration
debug1: Reading configuration data /Users/kradalby/.ssh/config
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug1: Connecting to tw.fap.no [89.9.174.120] port 22.
debug1: Connection established.
debug1: identity file /Users/kradalby/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/kradalby/.ssh/id_ed25519 type 4
debug1: key_load_public: No such file or directory
debug1: identity file /Users/kradalby/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Debian-3
debug1: match: OpenSSH_6.7p1 Debian-3 pat OpenSSH* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ED25519 9e:2a:b1:85:a6:f0:e4:58:ac:14:ea:fa:f4:01:7f:f3
Warning: Permanently added 'tw.fap.no,89.9.174.120' (ED25519) to the list of known hosts.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/kradalby/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/kradalby/.ssh/id_dsa
debug1: Trying private key: /Users/kradalby/.ssh/id_ecdsa
debug1: Offering ED25519 public key: /Users/kradalby/.ssh/id_ed25519
debug1: Server accepts key: pkalg ssh-ed25519 blen 51
debug1: Authentication succeeded (publickey).
Authenticated to tw.fap.no ([89.9.174.120]:22).
debug1: channel_connect_stdio_fwd 192.168.1.10:21337
debug1: channel 0: new [stdio-forward]
debug1: getpeername failed: Bad file descriptor
debug1: Requesting [email protected]
debug1: Entering interactive session.
SSH-2.0-OpenSSH_6.7p1 Debian-3
Protocol mismatch.
debug1: channel 0: FORCE input drain
debug1: stdio forwarding: done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment