-
Notifications
You must be signed in to change notification settings - Fork 50
Unix commands
map ports, useful for MapBox
ssh -gvN -L 5433:localhost:5432 geo.stamen
Trouble shooting ssh tunnel:
$ ps auxwww | grep ssh
nvkelso 40396 0.0 0.0 2436228 2080 s001 T 4:04PM 0:03.13 ssh -gvN -L 5433:localhost:5432 geo.stamen
nvkelso 279 0.0 0.0 2486800 388 ?? S 1Jul11 0:00.61 /usr/bin/ssh-agent -l
nvkelso 41310 0.0 0.0 2425524 172 s001 U+ 5:25PM 0:00.00 grep ssh
nvkelso 40600 0.0 0.0 2435168 1080 s004 S+ 4:24PM 0:00.02 ssh geo.stamen
nvkelso 40473 0.0 0.0 2435168 1156 s002 S+ 4:11PM 0:00.04 ssh geo.stamen
$ kill -9 40396
$ ps auxwww | grep ssh
nvkelso 279 0.0 0.0 2486276 376 ?? S 1Jul11 0:00.61 /usr/bin/ssh-agent -l
nvkelso 41315 0.0 0.0 2435120 560 s001 R+ 5:25PM 0:00.00 grep ssh
nvkelso 40600 0.0 0.0 2435168 1080 s004 S+ 4:24PM 0:00.02 ssh geo.stamen
` nvkelso 40473 0.0 0.0 2435168 1156 s002 S+ 4:11PM 0:00.04 ssh geo.stamen
[1]+ Killed ssh -gvN -L 5433:localhost:5432 geo.stamen
$ ssh -gvN -L 5433:localhost:5432 geo.stamen
Screen