3 # chooses the right certificate to use for logging in via ssh.
5 #hmmm: not the slightest bit general here currently.
6 # what about having a main key variable and a sourceforge key variable?
7 # better yet, an array of site patterns and keys for those sites.
9 keyfile="$HOME/.ssh/id_dsa_fred"
11 if [ ! -z "$(echo $* | grep -i sourceforge)" ]; then
12 keyfile="$HOME/.ssh/id_dsa_sourceforge"