Skip to content

Instantly share code, notes, and snippets.

@zspencer
Created February 16, 2012 22:23
Show Gist options
  • Save zspencer/1848321 to your computer and use it in GitHub Desktop.
Save zspencer/1848321 to your computer and use it in GitHub Desktop.
GRRRRRRR
ssh -R1336:localhost:8000 remoteserver
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1099/sshd
tcp 0 0 127.0.0.1:1336 0.0.0.0:* LISTEN 1994/0
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1134/sendmail: acce
tcp 0 0 :::22 :::* LISTEN 1099/sshd
tcp 0 0 ::1:1336 :::* LISTEN 1994/0
udp 0 0 0.0.0.0:68 0.0.0.0:* 984/dhclient
udp 0 0 10.110.173.209:123 0.0.0.0:* 1119/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1119/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 1119/ntpd
udp 0 0 fe80::1031:39ff:fe1:123 :::* 1119/ntpd
udp 0 0 ::1:123 :::* 1119/ntpd
udp 0 0 :::123 :::* 1119/ntpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment