[plug] SSH Tunnel

Michael L. Benjamin mike.benjamin at clarinet.com.au
Thu Apr 6 10:42:42 WST 2006


 
Hi Phil,
 
Server2 (pop3) doesn't offer SSH, therefore the last hop on the link has
to be un-encrypted.
 
I figure I could do something with netcat... I'll keep playing with
it...
 
Mike.

________________________________

From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On
Behalf Of Bennett, Phillip
Sent: Thursday, April 06, 2006 10:11 AM
To: plug at plug.org.au
Subject: RE: [plug] SSH Tunnel


Is there a reason you don't want to use putty from the XP box straight
to server2 (pop3)?
 
What you can do is set up a tunnel in putt as follows: Local Port: 9999
Remote Port: mail.somewhere.net:110
 
This should work AFAIK.  It will encrypt the link between you and
server1 and make it look like the traffic to mail.somewhere.net is
originating from server1.  Is this what yuo are looking for?
 
hth,
Phil.
 

________________________________

From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On
Behalf Of Michael L. Benjamin
Sent: Thursday, 6 April 2006 10:01
To: plug at plug.org.au
Subject: [plug] SSH Tunnel


 
I'm attempting to setup an SSH tunnel without too much success.
 
What I want to be able to do is SSH tunnel from an XP machine to a Linux
box, then from there access a remote Linux mail machine running POP3.
 
Then I'd setup a PuTTY session with the local port forwarding so that I
can connect a POP3 mail client to localhost on a port that would connect
via the SSH tunnel
to the first remote server.
 
So, say connect to localhost:9999 which connects to server1:9998 which
in turn connects to mail.somewhere.net:110 
 
Can anyone suggest a good way of doing this? Is it feasible, and do I
need to use a combination of SSH and netcat?
 
The final link is not encrypted sadly, but I want everything else to be
SSH2  from there on back to my desktop machine.
 


  	Mike Benjamin
Network Engineer 
 	  	 
Mobile       	 :   +61-422-645-217	 
Email 	:   mike.benjamin at clarinet.com.au	 
Sales 	:   1 300 786 682	 
Support 	:   1 300 736 172	 
Fax 	:   +61-86263-0455	 
Address 	:   Level 3, 28 Kings Park Rd. West Perth WA. 6005.

 	  	 
This message is intended for the use of the recipient only.	 
Any unauthorised use of this message or its contents is prohibited.















 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20060406/1a8be7ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clarinet_sig_logo.png
Type: image/png
Size: 12272 bytes
Desc: clarinet_sig_logo.png
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20060406/1a8be7ac/attachment.png>


More information about the plug mailing list