X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsecurity%2Fpick_credentials.sh;fp=scripts%2Fsecurity%2Fpick_credentials.sh;h=0000000000000000000000000000000000000000;hb=baf34d26f73b32deb1a89feb0fa2d1469e397405;hp=8b4b55e6aef74c1ee85f1e1f3f000c7d5fd7b217;hpb=8581b6c87895dcc6445a270f42bdc9483ff28ed2;p=feisty_meow.git diff --git a/scripts/security/pick_credentials.sh b/scripts/security/pick_credentials.sh deleted file mode 100644 index 8b4b55e6..00000000 --- a/scripts/security/pick_credentials.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# chooses the right certificate to use for logging in via ssh. - -#hmmm: not the slightest bit general here currently. -# what about having a main key variable and a sourceforge key variable? -# better yet, an array of site patterns and keys for those sites. - -keyfile="$HOME/.ssh/id_dsa_fred" - -if [ ! -z "$(echo $* | grep -i sourceforge)" ]; then - keyfile="$HOME/.ssh/id_dsa_sourceforge" -fi - -if [ ! -f "$keyfile" ]; then - unset keyfile -fi