I am using SSH to connect to my proxy server, eg:
ssh -Nf host -l user -L 3128:cache:3128
ssh -Nf host -l user -L 1080:localhost:1080
run from a shell script. This all works for Opera, NetFront, Gaim etc etc. (Dante Sockd and Squid for the curious).
I would like to give this an icon on the net tab but softlinking the script into /usr/local/bin donesn\'t give the option to use it when I try and add an icon from the Tab system setting widget.
I would also like to be able to kill these ssh sessions when I disconnect. killall -9 ssh doesn\'t kill anything, even though a ssh process is running. Is there anyway to write the PID from SSH to a file and then use that in the kill script, or a form for killall that will work?
It would also be nifty for these script to be able to bring up/drop the network interface, something like:
/etc/init.d/net.eth0 start
sleep 5
ssh ...
ssh...
on my desktop... any ideas as to what the command would be on a Zaurus?
Thanks.