Last active
March 30, 2020 16:36
-
-
Save umstek/da30d135b2efd1772145ad88e989f9fd to your computer and use it in GitHub Desktop.
Snippets for work
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
# Enter this on local terminal to forward connections to 4007 on remote computer to 4005 on local computer | |
ssh -R 4007:localhost:4005 [email protected] |
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
# Find what's running on port | |
netstat -tulpn | grep '4005' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment