From owner-freebsd-questions Fri Nov 15 14:40: 3 2002 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 7616337B401 for ; Fri, 15 Nov 2002 14:40:01 -0800 (PST) Received: from www.omicnet.com (ip-208-181-72-171.adsl.radiant.net [208.181.72.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B1C43E42 for ; Fri, 15 Nov 2002 14:40:00 -0800 (PST) (envelope-from inspector.us@omicnet.com) Received: from inspectorbox (130-94-160-46-dsl.hevanet.com [130.94.160.46]) by www.omicnet.com (8.9.3/8.9.2) with SMTP id OAA11832; Fri, 15 Nov 2002 14:39:57 -0800 From: "Joshua Lokken" To: "Adrian Mugnolo" , Subject: RE: SSH through a firewall Date: Fri, 15 Nov 2002 14:39:58 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <002201c28ce1$27298d40$6c5218ac@ROCK> 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 > -----Original Message----- > From: Adrian Mugnolo [mailto:adrianm@yahoo-inc.com] > Sent: Friday, November 15, 2002 11:57 AM > To: Joshua Lokken; freebsd-questions@FreeBSD.ORG > Subject: Re: SSH through a firewall > > > Hi, > > You can set up por forwarding for ssh connections to 10.0.0.2 as follows: > > ssh -L 2022:10.0.0.2:22 12.225.249.250 > > And while that connection remains open, you can do: > > scp -P 2022 file.txt localhost: > > Please note that the requested password or key will be the one on the > destination host, not the gateway. Also, that you can do multiple port > forwardings at once: > > ssh -L 2022:10.0.0.2:22 -L 2122:10.0.0.3:22 -L 2222:10.0.0.4:22 > 12.225.249.250 > > HTH > It does, thanks. The work machine is a Winbox, and I'm using PuTTY. I'm not sure how to get this setup to work, but I'll keep at it! Joshua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message