Get Ready!
- Ensure you have Java installed
- Grab keychain -
sudo apt-get install keychain
Installation
Setup your SSH keys with passwords if they don't have passwords already.
NOTE: If you have no password press enter when it asks for your old password
ssh-keygen -p -f .ssh/id_dsa
ssh-keygen -p -f .ssh/id_rsa
If the above fails with file not found errors, you my friend do not have ssh keys yet, generate them with this snippet:
ssh-keygen -t rsa
ssh-keygen -t dsa
Now that yours keys are setup, make your keys an authorized keys on the various machines that you will be working on (ben?)
scp .ssh/id_dsa.pub .ssh/id_rsa.pub username@host:~/
ssh username@host
cat id_dsa.pub >> .ssh/authorized_keys2
cat id_rsa.pub >> .ssh/authorized_keys2
Setup keychain in your .bashrc, some minor editing is needed
if [ "$HOSTNAME" == "YOUR_WORKSTATION_HOSTNAME_EDIT_ME" ]; then
/usr/bin/keychain --quiet ~/.ssh/id_rsa ~/.ssh/id_dsa
. ~/.keychain/${HOSTNAME}-sh
fi
Now your shell is secure, but what about your email?
See http://oregonstate.edu/net/security/privacy/