What is SSH?
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server.
Generate SSH Keys
You must use ssh-keygen command to generate new SSH Key pair. Run the below command on your terminal to generate one.
ssh-keygen -t rsa
Important: The above command prompts to get information like filepath, passphrase etc. Make sure you set the filepath to new location on your filesystem and also do not enter passphrase.
Important: Once the SSH Key pair is generated on the specified location, check that you have Private and Public Keys.
Deploy SSH Keys
Connect to your Server and append the content of SSH Public Key file to ~/.ssh/authorized_keys file under specific linux shell user. You can now connect to Server as that specific linux shell user using SSH.
ssh -i developer_rsa firstname.lastname@example.org