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\ user@server:~/
ssh user@server [user@server]
ssh-keygen -i -f id\
# at remote server
cat ~/id\ >> ~/.ssh/authorized\_keys2

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