diff options
| -rwxr-xr-x | bin/updateConfig.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updateConfig.sh b/bin/updateConfig.sh index 7385f2e..571bc4d 100755 --- a/bin/updateConfig.sh +++ b/bin/updateConfig.sh @@ -4,7 +4,7 @@ BASEDIR=`dirname $(readlink -f $0)` cd ${BASEDIR}/../ -ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|offline" | sed 's/^Host //' | sed 's/ #.*//' | tr '\n' ' ' | sed 's/ $//' ` +ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|localnet|offline" | sed 's/^Host //' | sed 's/ #.*//' | tr '\n' ' ' | sed 's/ $//' ` HOSTS=${HOSTS:-$ALLHOSTS} echo "loaded keys:" |
