I tried IdentitiesOnly and it worked but it also disables
password login which I sometimes need.
On 11/23/2017 02:29 AM, Todd Zullinger
wrote:
cen wrote:
Anyone doing linux admin or dev work has
more than 5 keys in their .ssh directory, rendering the agent
completely USELESS PIECE OF SHIT PROGRAM.
Not at all. It just requires some config to handle that well. :)
Does everyone disable agent first thing
after installing Fedora? How else do you even manage to survive
with this crap running?
The agent is great. It certainly can be annoying with many keys,
some of which is made worse by the agent being provided not by ssh
but by gnome-keyring-daemon, I think.
Why would agent even try with other keys
if I SPECIFY the goddamn key! It doesn't make any sense!
There is a way to avoid this though, using the IdentitiesOnly
option in the ssh config:
Host *.example.com
IdentityFile ~/.ssh/id_rsa_example_com
Host *.example.net
IdentityFile ~/.ssh/id_rsa_example_net
Host *
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa
Maybe that will be helpful as an alternative to disabling the
agent entirely.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
|
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx