From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 14:23:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4396916A41F for ; Mon, 19 Sep 2005 14:23:54 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9611643D45 for ; Mon, 19 Sep 2005 14:23:53 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EHMVj-0005Mx-7k for freebsd-questions@freebsd.org; Mon, 19 Sep 2005 16:20:47 +0200 Received: from n250.camo-route.com ([216.113.24.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Sep 2005 16:20:47 +0200 Received: from ugob by n250.camo-route.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Sep 2005 16:20:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ugo Bellavance Date: Mon, 19 Sep 2005 10:17:47 -0400 Lines: 76 Message-ID: References: <432EBDD6.3020105@locolomo.org> <432EC216.5050105@locolomo.org> <432EC742.8000005@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: n250.camo-route.com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <432EC742.8000005@locolomo.org> X-Enigmail-Version: 0.92.0.0 Sender: news Subject: Re: sshd port forward X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 14:23:54 -0000 Erik Norgaard wrote: > Ugo Bellavance wrote: > >> Erik Norgaard wrote: >> >>> Ugo Bellavance wrote: >>> >>> >>>> I'm connecting from a windows box, using putty. >>> >>> >>> >>> Ok, this wasn't clear. >>> >>> >>>> in the SSH > Tunnels section of the connexion, there is: >>>> >>>> L80 192.168.x.x:80 >>>> L143 192.168.x.x:80 >> >> >> >> Typo: should read: L143 192.168.x.x:143 >> >> >>>> 192.168.x.x is the IP address of the server on which I connect to, and >>>> that has the dovecot server installed. >>> >>> >>> >>> Try: L1430 127.0.0.1:143 >>> >>> You should then be able to connect to your imap server by connecting to >>> port 1430 on localhost. >>> >>> When I tunnel (ok, this is FBSD2FBSD) I use: >>> >>> $ ssh -L1430:localhost:143 imap.example.com >> >> >> It does connect, prompts for a password. When I provide the right >> password, I can see that there are new message (Thunderbird), but when I >> click on a message to see it, it doesn't load the message and freezes my >> ssh session. > > > There's no surprise that you get the password prompt for the ssh > session, it's the establishing of a tunnel that goes wrong. No, I get a password prompt from Thunderbird. I use keys auth, not passwd auth with SSH on this server. So I think the tunnel is ok, but the server reacts badly on the command to read the actual message. > > Did you change 192.168.x.x to 127.0.0.1 and L143 to L1430? If not do it, > and configure thunderbird to connect to localhost:1430. > Yes I did. > If you speak IMAP you can also telnet localhost:1430 instead of > reconfiguring thunderbird every time. Ok > > Cheers, Erik > -- Ugo -> Please don't send a copy of your reply by e-mail. I read the list. -> Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies.