= Force a non-default ssh key for the connection =
In order to force ssh to use a specific ssh key instead of the default, you can run this command:
ssh -o "IdentitiesOnly=yes" -i <private_key_filename> <hostname>
You need to make sure that your key has proper permissions - 0600:
chmod 0600 <private_key_filename>
= References =
- Nothing here.