Passwordless login in HPCL@GWU
Gentoo December 26th, 2005
Thanks to Proshanta’s hard work, the network policy of HPCL changes slightly: all the servers are authentificated 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
$ ssh user@server [user@server]
$ ssh-keygen -i -f id_rsa.pub
[user@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.







Leave a Comment