Commands for SSH
From Luis Gallego Hurtado - Not Another IT guy
- Generate an ssh with OpenSSH
ssh-keygen
- Copy a ssh key to a server and installs it as an authorized key for avoiding inputing password for an existing user on server
ssh-copy-id -i <PATH_TO_KEY_FILE> <USER>@<HOST>
- Verifying a given key once is copied to a server:
ssh -i <PATH_TO_KEY_FILE> <USER>@<HOST>