ssh client prioritises ssh-agent keys over -i
Bug #828585 reported by
Chris Jones
This bug report is a duplicate of:
Bug #673313: ssh does not honor -i switch with config file.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I have many ssh keys loaded into my ssh agent. If I specify a specific key on the command line with ssh -i, the ssh client still offers all of my agent keys before trying the one I specified.
This has the unfortunate consequences of:
* hitting login attempt limits on (many?) ssh daemons
* slowing down the login process
Changed in openssh (Ubuntu): | |
importance: | Undecided → Low |
To post a comment you must log in.
While I do think the -i option might be useful to respect in this situation, a sufficiently strict .ssh/config that uses "IdentitiesOnly" appears to be a viable workaround here