----- Original Message -----
From: "Jeff Gutierrez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 11:43 AM
Subject: Re: [plug] stunnel question


> #    why not use the ssh tunneling feature?
> #
>
> I've used ssh tunneling before.  The issue I have with it is the ssh
client has to be started in a terminal.. if I start it, and leave it in the
background it will eventually get disconnected -- I've tried to look for
command options, and in the web.. but to no available.

man page is your bestfriend :-> perhaps you are confuse with the ssh
parameters... here is an example to create a tunnel for pop3 (port 110) or
any tcp ports

ssh -2 -N -f -L 12345:localhost:110 [EMAIL PROTECTED]

-2
    forces ssh to use version 2 of the protocol
-N
    indicates no command, or tunnel only
-f
    forces ssh to run in the background
-L
    indicates local tunnel in localport:remotehost:remoteport
[EMAIL PROTECTED]
    the remote ssh server

-L 12345:localhost:110 means that at your side where you execute the ssh
client, it will listen at 127.0.0.1:12345... ssh will try to connect at
remoteSSHserver.example.com, tunnel and redirect packets to 127.0.0.1:110..
with this, you must run your pop3 server that will only bind to localhost ip
address.. the advantage of this is that, hackers and others cant see your
open tcp port 110 to them.

telnet localhost 12345  to test the ssh tunneling.

>
> #    member ka ba ng takuza? :->
> #
>
> Of course, I am. ;)  That's the secret to peaceful coexistence.. at least
most of the time. he he

hehehe swerte naman ng misis mo :-> opps sorry sa mga girls dito sa list..
alam nyo naman sa pinas.. dominante ang mga lalake dito :->

fooler.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to