I would expect the -i to take priority as command-line options usually do take precedence, unless they are somehow disabled by the host.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/828585 Title: ssh client prioritises ssh-agent keys over -i To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/828585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs