[LUGSB] SSH through routers?
Michael Hrivnak
mhrivnak at triad.rr.com
Wed Jul 20 13:27:20 EDT 2005
Vinay, who beat me to it by 8 seconds, had the syntax correct where I did not.
man ssh
will prevent you from screwing it up like I did.
Good luck,
Michael
On Wednesday 20 July 2005 01:17 pm, Vinay Pai wrote:
> There's no way to initiate a connection to a host behind a NAT without
> port forwarding.
>
> A workaround, if you have SSH access to a machine outside your network,
> is to keep a connection to that machine open and use SSH tunneling. For
> instance, if you can ssh to foo, you'd first open a tunnel with
>
> ssh -R 2222:localhost:22 foo
>
> now, you can ssh to your machine from anywhere (provided incoming
> connections on port 2222 aren't firewalled by foo) using
>
> ssh -p2222 foo
>
> Vinay
>
> On Wed, 2005-07-20 at 16:59 +0000, cbwright wrote:
> > Hello--
> >
> > I'm currently running a Linux box behind a router to which I don't have
> > administrative access--and the only person who might doesn't have
> > technical expertise. (Nor do I, but, well...aphid versus amoeba, sort of
> > thing.) Is there a way (without IP or port forwarding; I can't enable
> > those) to SSH into my computer around the router, for instance by
> > specifying my network-internal IP in addition to the router's external
> > IP? Or would this be heavily implementation-specific? --I haven't found
> > anything in the SSH man pages or on Google for the issue.
> >
> > Thank you,
> > Christopher Wright
> > _______________________________________________
> > lugsb mailing list
> > lugsb at mail.fsl.cs.sunysb.edu
> > http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
>
> _______________________________________________
> lugsb mailing list
> lugsb at mail.fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
More information about the lugsb
mailing list