These instructions are the minimal steps necessary to set up your linux lab environment so that, once you are logged in to one lab machine, you can log into any other lab machine without entering a password. There are more detailed instructions for Using SSH Keys available; these ones are the least you need to know. They assume that you haven't already set up any ssh keys or done any other ssh configuration that you don't want changed.
- Log into any linux lab machine using your UW NetID and password.
- If you are using a graphical session, launch a Terminal from Applications → System Tools.
- Run the following commands (copy and paste if possible):
mkdir -p ~/.ssh chmod 0700 ~/.ssh ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -N "" cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys cp /net/metis/usr/apps/known_hosts ~/.ssh/
You can now ssh between any of the linux lab machines without having to enter a password.