Skip to content

Agent Forwarding Error #10265

Open
Open
@Remonli

Description

Hi, there is still problem on Agent forwarding:

With 1.0.215 , it got invalid format warning but then return correct key.

debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug2: get_agent_identities: ssh_agent_bind_hostkey: invalid format
debug1: get_agent_identities: agent returned 1 keys

But with 1.0.221, it just stopped and froze here:

debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey

The weird thing is if I use 1.0.215 first , then for the first time change to 1.0.221, it works well . And if I quit and connect again , it froze.
What's more, I have 4 different servers with all same openssh-server version(debian trixie), this only happened if connect to one of them.
There is no problem for the rest three, even if connect from this one server to the rest three.

My environment is win11 24h2 , ssh agent from OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 , the key is ed25519.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions