From owner-freebsd-questions Fri Dec 7 4:17:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 6F09137B417 for ; Fri, 7 Dec 2001 04:17:26 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 7 Dec 2001 12:17:16 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16CJtX-0003kx-00; Fri, 07 Dec 2001 12:14:23 +0000 Date: Fri, 7 Dec 2001 12:14:23 +0000 (GMT) From: Jan Grant X-X-Sender: To: Draschl Clemens Cc: freebsd-questions Subject: Re: ssh and portforwarding In-Reply-To: <3C10A904.6040507@conova.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Dec 2001, Draschl Clemens wrote: > hi there! > > i'd like to set up a secure tunnel through a firewall, so that i'm able > to connect to my private host from outside. > i'm running a freebsd-box 4.4 stable in the internet. > > on the private host inside the network i tried > ssh -R 3022:localhost:22 outside_host > > after that i tried a ssh -p 3022 localhost on the inet-box. but > "connection refused" > the same thing with linux as the remotehost: no problem. > > i thought about the pam-configuration, but i think everything is ok. > anybody had the same problem or can help me? Is sshd actually listening on your internal machine? -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Lambda calculus? I hardly know 'er! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message