Wolfgang Tichy


ssh keys


Using an agent for your keys

Note that whenever you make a connection, computers such as quark.physics.fau.edu or bast.hpc.fau.edu will need your key. To access the key, your key-passphrase is needed. If you want to type this passphrase less often, you can set up ssh-agent or a similar program. On Linux ssh-agent should be already installed. But there is also GNOME Keyring and KDE Wallet, which can be used for the same purpose. On most modern Linux desktops, ssh-agent gets launched on login (usually by systemd).

Using add-key.py for your keys


Agent forwarding

You can run an ssh-agent on every computer that you log in, and with add-key.py this is even quite easy. There is, however, an even better way! Just use ssh-agent or add-key.py on your local computer (e.g. your laptop), and then forward this ssh-agent to any remote machine you log in. E.g.:
ssh -A username@athene-login.hpc.fau.edu
will allow you to use all your local keys on the remote athene-login.hpc.fau.edu . If you do not want to type the -A each time, you can add
Host athene-login.hpc.fau.edu
  ForwardAgent yes
or
Host *.fau.edu
  ForwardAgent yes
to the .ssh/config file on your local computer.