ssh command in 25.10 fails to connect with RSA key and waits
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gcr4 (Ubuntu) |
New
|
High
|
Unassigned | ||
| openssh (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Bug Description
After upgrading to 25.10, ssh no longer connects to my known servers with RSA or ECDSA keys.
Running
ssh -vvvv 192.168.1.21
(to connect to a server in my home network)
I see the following last few lines (I've "sanitized" a few of the lines with ***):
ebug2: pubkey_prepare: done
debug1: Offering public key: /home/*
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: /home/*
debug3: sign_and_
debug3: sign_and_
And at this point, nothing...
I found this useful article on setting up ssh on Ubuntu 25.10:
www.ezone.
which suggests, without much more detail, the use of ED25519 keys.
So I used ssh-keygen to generate an ED25519 pair and put the public key on the server "by other than ssh means"; and then I was able to connect.
The debug output given with ssh -v 192.168.1.21 now shows first offering the ED25519 key, and after the offering stanza, the server accepts stanza.
I should point out that I have the same issue connecting to my small home network Debian IOT devices and to an Ubuntu 22.04 server out in the cloud - same "off in the weeds" behaviour from the ssh client until I get an ED25519 pair in place.
I should also emphasize that I don't have a problem moving to a newer, better key technology; it's the ssh client sitting there waiting for something behaviour that's the problem.
I don't think this bug is a security vulnerability, but it could lead to people falling back to password authentication for ssh connections, which would be a security vulnerability.
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: openssh-client 1:10.0p1-5ubuntu5
ProcVersionSign
Uname: Linux 6.17.0-6-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 31 10:06:24 2025
InstallationDate: Installed on 2024-04-27 (552 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
RelatedPackageV
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_10.0p2 Ubuntu-5ubuntu5, OpenSSL 3.5.3 16 Sep 2025
SourcePackage: openssh
UpgradeStatus: Upgraded to questing on 2025-10-30 (1 days ago)

This might be the same ssh socket issue (https:/ /discourse. ubuntu. com/t/25- 10-gnome- 49-changed- name-of- ssh-agent- socket/ 70033/3) I encountered in Kubuntu 25.10. What happens if you do
export SSH_AUTH_ SOCK="$ XDG_RUNTIME_ DIR/ssh- agent.socket"
then your ssh line?