https://bugzilla.mindrot.org/show_bug.cgi?id=2970
--- Comment #2 from Ilya Basin <[email protected]> --- Even with IdentitiesOnly=yes among explicitly listed keys agent keys take precedence, regardless of the order in the command line: ssh -vvv -oIdentitiesOnly=yes -oBatchMode=yes -i ~/.ssh/zzz-test2.id_rsa -i ~/.ssh/id_rsa localhost date ... debug1: Will attempt key: /home/il/.ssh/id_rsa RSA xxx explicit agent debug1: Will attempt key: /home/il/.ssh/zzz-test2.id_rsa RSA xxx explicit I still think it is natural to expect that `ssh -i identity_file` will first try the identity_file without the need to specify additional options. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
