for PORT in $PORT1 $PORT2 $PORT3; do nc -vz $SSH_HOST $PORT; done; ssh $SSH_USER@SSH_HOST
Created
September 8, 2016 12:47
-
-
Save jkullick/e65378db6cb672eef90e76f6970a2aeb to your computer and use it in GitHub Desktop.
Open Port Knock Guarded SSH Port with Netcat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment