ssh
SSH Secure Shell, fix login problem from SSH Secure Shell to Ubuntu system
ssh with Public Key
  1. ssh-keygen -t rsa, generate public key (id_rsa.pub) and private key (id_rsa) under /Users/lchen/.ssh directory
  2. attach id_rsa.pub to .ssh/authorized_keys on the remote server
    • scp id_rsa.pub lchen@serverIP:.ssh
    • cat id_rsa.pub >> id_rsa.pub

Connecting to GitHub with SSH
Reference