Last active
October 3, 2020 20:30
-
-
Save karl-gustav/8ddf34484eaf1fef1dfb4e4bc3240397 to your computer and use it in GitHub Desktop.
SSH tunnel that auto closes after a given time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Portforward localhost:8080 to port 8200 on the server | |
ssh -L 8080:localhost:8200 [email protected] sleep 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment