SSH Commands

Remote Using SSH

sudo nano rsa_key

The command above creates a file named “rsa_key” with the nano text editor as administrator.

chmod 600 /path/to/rsa_key

The above command changes files permissions so only you (the owner) can read/write it.

ssh -i rsa_key user@ip address

The last command connects the user to a remote machine (user@ip) using the private key stored in “rsa_key”