Skip to content

Cannot connect with Yubikey on OpenSSH 8.8+ #13306

@shyim

Description

@shyim

The connections get declined with userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

See references

https://youtrack.jetbrains.com/issue/IDEA-291877/Unable-to-connect-to-OpenSSH-8.8+-servers-with-RSA-keys
https://administrator.de/knowledge/openssh-8-8-update-putty-versions-hinweis-1373660060.html

Adding

PubkeyAcceptedAlgorithms +ssh-rsa

to sshd config fixes it.

ssh, sftp scp on the CLI works for that server without that config

PS C:\Users\shyim> ssh-add -l
4096 SHA256:6vihnhOFvWrHDSMlXovXZqMBK0tATlX2IaqdA+MtzcU cardno:10 655 981 (RSA)

Metadata

Metadata

Assignees

Labels

bugsftpSFTP Protocol Implementation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions