Skip to content

Instantly share code, notes, and snippets.

@brainv
Last active February 17, 2018 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainv/16b1fcbfae6f675884fc to your computer and use it in GitHub Desktop.
Save brainv/16b1fcbfae6f675884fc to your computer and use it in GitHub Desktop.
SSH stop in "debug1: SSH2_MSG_KEXINIT sent"
mybaby:~ brainv$ ssh -v 192.168.255.69
OpenSSH_6.7p1 Debian-5, OpenSSL 1.0.1k 8 Jan 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.255.69 [192.168.255.69] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent

Add the following to your /etc/ssh/ssh_config

GSSAPIAuthentication no 
GSSAPIKeyExchange no 
@nixjobin
Copy link

Added, still the issue is there.

@clem9669
Copy link

clem9669 commented Feb 5, 2018

Same, still got the issue :

ssh_dispatch_run_fatal: Connection to XXX port 22: Operation timed out

@oca159
Copy link

oca159 commented Feb 17, 2018

The issue is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment