Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years agoAbility to specify which key to use (otherwise: Too many authentication failures)
I was perplexed as to why I could not SSH into a system earlier today. It looks like ssh is simply trying all of the keys in my vault, one after another, though never getting to the one it needs befo...
floris_1P
1Password Team
3 years agoIt's not an issue with the key itself, but rather the communication mechanism between the SSH server and the SSH client when using RSA keys. If the server supports a more modern RSA algorithm (like rsa-sha2-256
), you can add this snippet to your SSH config to opt out of the legacy ssh-rsa
algorithm.
HostkeyAlgorithms -ssh-rsa
PubkeyAcceptedAlgorithms -ssh-rsa
However, some servers and some clients only support ssh-rsa
for RSA keys. In some cases, simply switching to an Ed25519 key is a feasible workaround. But we're also working on adding better legacy support to the SSH agent, we'll post an update in this thread when that's released.