diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/safesh/Makefile | 2 | ||||
-rw-r--r-- | security/safesh/src/safesh.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/safesh/Makefile b/security/safesh/Makefile index 1f3c0403665d..4c773a23e32b 100644 --- a/security/safesh/Makefile +++ b/security/safesh/Makefile @@ -8,7 +8,7 @@ # PORTNAME= safesh -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= security MASTER_SITES= # none DISTFILES= # none diff --git a/security/safesh/src/safesh.sh b/security/safesh/src/safesh.sh index bd7417964516..8db88109d122 100644 --- a/security/safesh/src/safesh.sh +++ b/security/safesh/src/safesh.sh @@ -68,7 +68,7 @@ fi for i in $USER@${HOST}-22 `cat $HOSTDIR/extra_keys 2> /dev/null`; do tmpuser=`echo $i | sed -e "/^[^@]*\$/s/.*/$USER/" -e "/@/s/\\(.*\\)@.*/\\1/"` tmpport=`echo $i | sed -e '/-\([0-9][0-9]*\)/!s/$/-22/' -e 's/.*-\([0-9][0-9]*\)/\1/'` - tmphost=`echo $1 | sed -e 's/.*@\(.*\)//' -e 's/-[0-9][0-9]*$//' | tr A-Z a-z` + tmphost=`echo $i | sed -e 's/.*@\(.*\)/\1/' -e 's/-[0-9][0-9]*$//' | tr A-Z a-z` tmp=$USER@`normalizehost $tmphost`-$tmpport if [ -f $HOSTDIR/$tmp ]; then IDENTITY=$HOSTDIR/$tmp |