#1216·paramiko

Compatibility with IdentitiesOnly

Author: acdhaCreated May 17, 2018Updated Jul 9, 2026
LabelsKeysFeaturessh_config

OpenSSH has a useful IdentitiesOnly directive which tells it not to try keys which aren't explicitly enabled for that host. I have to deal with some systems which were misconfigured in such a way that this is required to login at all — it counts each key failure as a login failure and drops the connection after 3 attempts, which the ordering of keys in my SSH agent is non-deterministic.