On Wed, 30 Sep 2020, raf wrote: > Thanks. That's brilliant. > It should get a mention in the manpage. > I've attached a patch for ssh.1. > > However, I've just tried it and it didn't work for me. :-( > > $ git config core.sshcommand > ssh -i ~/.ssh/id_ed25519_github2 Personally, I find it easier to use ~/.ssh/config for this sort of configuration: Host github.com User git IdentityFile ~/.ssh/id_ed25519_github2 IdentitiesOnly yes # Don't use other keys in agent or on disk You can then also "ssh -vvv github.com true" to see what is going wrong. -d _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev