From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 13:53:35 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 058E216A445 for ; Mon, 19 Sep 2005 13:53:35 +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 87FAE43D45 for ; Mon, 19 Sep 2005 13:53:34 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EHM31-0005Tl-E9 for freebsd-questions@freebsd.org; Mon, 19 Sep 2005 15:51:07 +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 15:51:07 +0200 Received: from ugob by n250.camo-route.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Sep 2005 15:51:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ugo Bellavance Date: Mon, 19 Sep 2005 09:40:04 -0400 Lines: 40 Message-ID: References: <432EBDD6.3020105@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: <432EBDD6.3020105@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 13:53:35 -0000 Erik Norgaard wrote: > Ugo Bellavance wrote: > >> I'm running 5.4, freshly installed. I installed dovecot for IMAP >> and I >> want to be able to access it remotely using a port forward in ssh. >> >> The problem I have is that whenever I access my mailbox via IMAP, >> trough the ssh tunnel, I can't access the resource. It says: connexion >> refused. From my internal network, IMAP access works fine. >> >> I tried port-forwarding HTTP instead. The situation is even worse >> there: it freezes my ssh session. >> >> I looked in the various logs and didn't find anything. I uncommented >> the line >> >> AllowTcpForwarding yes >> >> in sshd_config, and restarted sshd, but nothing changed. >> >> Any ideas? > > > How do you establish the tunnel? Please send the full command with options. > > Cheers, Erik > > > Argh, nevermind. My mistake. Password error, not a connexion error. :( Sorry, -- 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.