Use ssh keys to login to remote servers
The ssh-keygen is used to generate ssh keys and is mostly used for authenticating to gitlab, github, bitbucket at work. However we can use ssh keys to remote into a server without using passwords. Generate a new pair of ssh keys ssh-keygen is used to generate a new pair of keys In the below command -b is the bit length. Most application we use 2048 or 4096 -f specifies the file to store the generated key in ssh-keygen -b 4096 -f ~/.ssh/remoteserver Entering a passphrase is optional and can be entered for additional security. ...