Closed dave0003 closed 7 months ago
I got it to accept the rsa keys (from a Yubikey) by overriding .ssh/config to include ssh-rsa.
rsa-sha2-512 & rsa-sha2-256 make it clear SHA2 is being used instead of the deprecated SHA1, and work normally on other systems.
MACs hmac-sha2-512,hmac-sha2-256
HostkeyAlgorithms ssh-rsa,ssh-ed25519
PubkeyAcceptedKeyTypes ssh-rsa,ssh-ed25519
(Closing)
I've tried authenticating with an rsa2048 key with SHA256 and an rsa4096 key with SHA512, but they're not accepted. I can create an ed25519 key just for this, and it does work with that.
For example:
Also, trying to use these HostKeyAlgorithms gives no match: HostKeyAlgorithms rsa-sha2-512,rsa-sha2-256