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 Copying an SSH public key to a server Adding a passphrase to an existing SSH private key more Linux posts Importing an OpenVPN configuration file into Network Manager Change default timeouts for starting and stopping systemd units