• Cody Bonney
  • December 19, 2013
linux

SSH into a machine using a private key file

When using the ssh command, the -i flag can be used to designate an identity file containing a private key.

$ ssh -t user@server.com -i ~/.ssh/key.pem -v

more SSH posts

linux Copying an SSH public key to a server
linux Adding a passphrase to an existing SSH private key

more Linux posts

linux Importing an OpenVPN configuration file into Network Manager
linux Change default timeouts for starting and stopping systemd units