mirage / awa-ssh

Purely functional SSH library in ocaml.
ISC License
104 stars 12 forks source link

client: only attempt algorithms that match the private key type #21

Closed hannesm closed 3 years ago

hannesm commented 3 years ago

this avoids Jan 7 10:58:07 <auth.err> sshd[87597]: error: userauth_pubkey: type mismatch for decoded key (received 0, expected 3) [preauth] messages when awa attempted to use ed25519 signature with an rsa key