So pardon me for being stupid, but I feel like I'm almost there ... and
need just a bit more help.

I am using "connect" from http://www.imasy.or.jp/~gotoh/ssh/connect.html
so my .ssh/config file looks a bit like this (names changed etc etc):

        Host external.server.net
                ProxyCommand connect -H local.proxy.net:8080 %h %p

(the external server runs both the sshd and imaps).

If I run this:
        ssh -L 5143:external.server.net:993 external.server.net
then I get a normal telnet-like ssh connection.  Is this what I want? 
Is this connection secretly doing port redirection while I read news,
use vi, etc?

If I tell evolution to connect to localhost:5143, evolution says that
the local host is refusing connections to port 5143 (I am a newbie at
this port/networking stuff).

Any hints/advice greatly appreciated.

-- Mike


> Continuing the topic of using ssh, here is what I used to do (server
> named have been changed to protect the innocent).
> 
> Say that your external IMAP server is mail.mail.com, and you have sshd
> running on server.my.com (both external to the firewall):
> 
> $-> ssh -L 5143:mail.mail.com:143 server.my.com
> 
> Once the ssh connection is up, local port 5143 is mapped to the
> external IMAP server's IMAP port through the ssh "tunnel".  Add a new
> account to evolution with the server set to localhost:5143 and you are
> all set.
> 
> You can add the -L part to your ssh config file, if you wish.... and
> you can add multiple ones, like an SMTP entry, another mail
> server......
> 
> For IMAPS, of course, you would use port 993 instead of 143.
> 
> Lonnie
> 


-- 

Michael W. Godfrey              Univ of Waterloo, School of Comp Sci
email:  [EMAIL PROTECTED]      URL:  http://www.uwaterloo.ca/~migod



_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to