SSH Client 101
1. On the client host 1.1 Connect to a (remote) host To connect to a SSH server use
1 |
ssh [-i IDENTITY_FILE] [-l USER |USER@]HOST<br>-l USER or USER@: specify the username to use. If missing, the current username will be used.<br>-i IDENITY_FILE: use the identity (private key) described in the file.<br> |
If no identity file is specified, the client will try to look for one in
1 |
~/.ssh/id_rsa |
. That is for RSA keys. For other key types there are corresponding default locations:
1 |
id_dsa, id_ecdsa, id_ed25519 |
. …