You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The x/crypto/ssh PublicKeys example is failing. The client side error is ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain. But the key works perfectly with ssh -i command. There's a sshd error message says userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth].
The key I'm using is generated using plain ssh-keygen. Since ssh -i can work, my guess is that pub.Type() may not be a valid value in this case?
What did you expect to see?
The example should work as expected
What did you see instead?
The example is not working
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The x/crypto/ssh PublicKeys example is failing. The client side error is
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
. But the key works perfectly withssh -i
command. There's a sshd error message saysuserauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
.The key I'm using is generated using plain
ssh-keygen
. Sincessh -i
can work, my guess is that pub.Type() may not be a valid value in this case?What did you expect to see?
The example should work as expected
What did you see instead?
The example is not working
The text was updated successfully, but these errors were encountered: