Skip to content

Instantly share code, notes, and snippets.

@umstek
Last active March 30, 2020 16:36
Show Gist options
  • Save umstek/da30d135b2efd1772145ad88e989f9fd to your computer and use it in GitHub Desktop.
Save umstek/da30d135b2efd1772145ad88e989f9fd to your computer and use it in GitHub Desktop.
Snippets for work
# Enter this on local terminal to forward connections to 4007 on remote computer to 4005 on local computer
ssh -R 4007:localhost:4005 username@192.168.43.21
# 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