From owner-freebsd-questions Sat Nov 16 9: 1:18 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 0C89037B404 for ; Sat, 16 Nov 2002 09:01:17 -0800 (PST) Received: from fep2.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AE7F43E4A for ; Sat, 16 Nov 2002 09:01:16 -0800 (PST) (envelope-from david@nitrowerks.com) Received: from snoopy (d141-214-59.home.cgocable.net [24.141.214.59]) by fep2.cogeco.net (Postfix) with ESMTP id 3C1116784; Sat, 16 Nov 2002 12:01:24 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: david To: "Joshua Lokken" , "Adrian Mugnolo" , Subject: Re: SSH through a firewall Date: Sat, 16 Nov 2002 12:00:55 -0500 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211161200.55479.david@nitrowerks.com> 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 Friday 15 November 2002 17:39, Joshua Lokken wrote: > > -----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 foll= ows: > > > > 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 po= rt > > 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! PuTTY has a forwarding section that should allow you to forward local por= ts.=20 > > Joshua > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message