Hacker News new | ask | show | jobs
by boring_twenties 2123 days ago
As another commenter already pointed out, the IdentitiesOnly config option removes that ability. The ssh-config man page explains this.
1 comments

Out of curiosity, are there reasons that that behavior shouldn't be the default?
I can think of three reasons:

1. It would stop SSH agent forwarding from working if the remote has it enabled.

2. It would stop alternative SSH agent implementations from working.

3. It would only make sense if you actually have multiple identities.

I'm not sure it makes much sense unless you also override the default IdentifyFile.
Argh, IdentityFile.

I make the same damn mistake in my actual config file, too.