Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 12:00:55 -0500
From:      david <david@nitrowerks.com>
To:        "Joshua Lokken" <inspector.us@omicnet.com>, "Adrian Mugnolo" <adrianm@yahoo-inc.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: SSH through a firewall
Message-ID:  <200211161200.55479.david@nitrowerks.com>
In-Reply-To: <OAEGJMOGEKPEGCNHFDFFOEJOCBAA.inspector.us@omicnet.com>
References:  <OAEGJMOGEKPEGCNHFDFFOEJOCBAA.inspector.us@omicnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211161200.55479.david>