Skip to content

Instantly share code, notes, and snippets.

View ahane's full-sized avatar

Alec Hanefeld ahane

View GitHub Profile
@ahane
ahane / ssh_tunnels.sh
Created May 10, 2021 07:20 — forked from billautomata/ssh_tunnels.sh
ssh port forwarding cheatsheet
# local port forwarding
# the target host 192.168.0.100 is running a service on port 8888
# and you want that service available on the localhost port 7777
ssh -L 7777:localhost:8888 [email protected]
# remote port forwarding
# you are running a service on localhost port 9999
# and you want that service available on the target host 192.168.0.100 port 12340
@ahane
ahane / plink-plonk.js
Created March 7, 2020 20:08 — forked from tomhicks/plink-plonk.js
Listen to your web pages