how to get and private key from ssh terminal code example Example: ssh with private key terminal ssh -i path/to/private/key user@servername