diff --git a/Network/ssh-tunnel.1s.sh b/Network/ssh-tunnel.1s.sh index c339f8772..feea240de 100755 --- a/Network/ssh-tunnel.1s.sh +++ b/Network/ssh-tunnel.1s.sh @@ -31,7 +31,7 @@ function hosts() { $1 == "DynamicForward" || $1 == "LocalForward" { print host; } - ' "$1" + ' "$1" | uniq } for h in $(hosts ~/.ssh/config); do