New answers tagged key-authentication
You can use the directive IdentitiesOnly in conjunction with the IdentityFile directive. On the commandline you can use: ssh -v -o "IdentitiesOnly=yes" -i /Users/wwerner/.ssh/my_test dev.example.com As alternative you can set the directive in your .ssh/config file at the section for your host. See man ssh_config for details
This Red Hat issue held the key* to my issue: I had the same issue - seems to have something to do with a user ssh config - I renamed mine, re-did it, and it worked Oh ho, thought I - I do have an ssh config, and this isn't the first key I've copied, and I'm specifying example in the file instead of having to type subdomain.example.com. So I tried ...
Top 50 recent answers are included