EDIT: I am running OSX Leopard 10.5 and DDWRT is running on WRT54GL v24-sp2 (08/12/10) vpn
I have an SSH tunnel set up using DDWRT. So now I can surf securely when I am in a remote location.
The problem is after I am done browsing, I can't figure out how to close out the session in a proper manner. For example, I type
ssh -p 2222 -N -D 8888 [email protected]
and it works with no problems. However, to kill the session I have to hit "CTR" and "Z". This is not the best solution because it leaves the session and port still open.
"ps aux | grep ssh" shows:
netstat -an | grep '8888'
Any suggestions on how to tear down the session without using "ps aux" and then the "kill" command?
I have an SSH tunnel set up using DDWRT. So now I can surf securely when I am in a remote location.
The problem is after I am done browsing, I can't figure out how to close out the session in a proper manner. For example, I type
ssh -p 2222 -N -D 8888 [email protected]
and it works with no problems. However, to kill the session I have to hit "CTR" and "Z". This is not the best solution because it leaves the session and port still open.
"ps aux | grep ssh" shows:
test 11050 0.0 0.1 600120 1364 s000 S 2:09PM 0:05.66 ssh -p 2222 -N -D 8888 [email protected]
netstat -an | grep '8888'
tcp4 0 0 127.0.0.1.8888 *.* LISTEN
Any suggestions on how to tear down the session without using "ps aux" and then the "kill" command?