Open schklom opened 2 years ago
It this extension being maintained (this issue is over a year old)? I just installed it and was surprised that I couldn't configure it to use my public key or my ~/.ssh/sconfig
.
Last update in April. I don't think it is abandoned, I think the dev likely had a lot on their plate for the last few months, and this issue is not really an urgent one.
My situation
I typically have about 5+ SSH keys loaded in my ssh-agent, without storing key files on my disk because they are loaded by KeePassXC (a password manager).
Problem
When I try to connect to a server, SSH goes through many keys before finding the good one, and the server refuses with the error
Too many authentication failures
.Dealing with it outside VSCodium
To avoid this, my
~/.ssh/config
specifiesto indicate that I only want to try a single key (identified by the public key).
The corresponding ssh command would contain
Inconvenient solutions
Either
Request
Allow an option to specify a public key in order to narrow down the list of keys that ssh will try to use from the agent when it connects to remote servers.