how to use private ssh key in cmd code example Example: ssh with private key terminal ssh -i path/to/private/key user@servername