Caltech Home > Caltech HPC Homepage > Documentation > FAQ > How do I set up SSH keys for passwordless login?
Search open search form

How do I set up SSH keys for passwordless login?

The Resnick cluster now supports connections via passwords or ssh keys both with second factor.  This is was accomplished using the same methodology the Cern uses.

You will first need to generae an ssh key pair on you local computer.  How this is done will depend on what kind of computer you are using and what software.  On a mac or linux computer you can run the command ssh-keygen.

When you generate the key, make sure you add a passphrase to it to protect the key.

To make things easier for yourself you can use a keychain program or ssh-agent on you local machine so that you don;t have to use the passphrase with every connection.