Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SSH connection hangs at debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

Featured Replies

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

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.