Sep 13, 2018

How to Force SSH Client To Use Given Private Key

ssh -i /path/to/your-private-key [email protected]

You can set identity file in ~/.ssh/config

Host server1.i88.ca
  IdentityFile /path/to/private-file1
Host server2.i88.ca
  IdentityFile /path/to/private-file2