OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> SSH and connecting to networks
post Mar 4 2004, 08:47 AM
Post #1

Group: Members
Posts: 19
Joined: 27-February 04
Member No.: 2,068

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 ...

on my desktop... any ideas as to what the command would be on a Zaurus?

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th October 2017 - 05:16 AM