Passwordless login in HPCL@GWU

Thanks to Proshanta’s hard work, the network policy of HPCL changes slightly: all the servers are authenticated via key pair only.

Generate the public/private key pair as

ssh-keygen -t rsa

Copy the public key to the reomote host:

scp ~/.ssh/id\_rsa.pub user@server:~/
ssh user@server [user@server]
ssh-keygen -i -f id\_rsa.pub
# at remote server
cat ~/id\_rsa.pub >> ~/.ssh/authorized\_keys2

OpenSSH key pair format is not compatible with SSH.com’s client/server. We need to convert it before append it to the configurations if necessary.