Jump to content

SSH connection hangs at debug1: expecting SSH2_MSG_KEX_ECDH_REPLY


Recommended Posts

Hi guys,

 

this is totally new, I have been always able to connect to my remote server from my Odroid-XU4 so far.

However, today I got stuck at this step:

 

OpenSSH_9.2p1 Debian-2, OpenSSL 3.0.9 30 May 2023
debug1: Reading configuration data /home/odroid/.ssh/config
debug1: /home/odroid/.ssh/config line 10: Applying options for freezr
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to $REMOTE_HOST$ [$REMOTE_HOST$] port 22.
debug1: Connection established.
debug1: identity file /home/odroid/.ssh/vultr2_ed25519 type 3
debug1: identity file /home/odroid/.ssh/vultr2_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.3 FreeBSD-20230316
debug1: compat_banner: match: OpenSSH_9.3 FreeBSD-20230316 pat OpenSSH* compat 0x04000000
debug1: Authenticating to $REMOTE_HOST$:22 as '$USER$'
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
Connection closed by $REMOTE_HOST$ port 22

 

The majority of the solutions online involve to lower down the MTU, this solution did not work for me.

On a Devuan laptop with the same identical ./ssh/config file and same keys the ssh connection works just fine.

 

Can't understand how to fix it, thanks! 🙏

 

Odroid-XU4
Distributor ID:	Debian
Description:	Armbian 23.8.3 bookworm
Release:	12
Codename:	bookworm

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines