[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: Re: ssh session to a computer with a non-routable ip]



Matt Zagrabelny wrote:
this has been suggested to me, but it doesnt quite work, although i
believe the concept has merit.


Try this:

unroutablebox$ ssh -L 22:localhost:33333 routableuser@routablebox

routablebox$ ssh -p 33333 -o  HostKeyAlias=unroutablebox unroutableuser@locahost



I think it should be -R instead of -L.

unroutablebox$ ssh -R 33333:localhost:22 routableuser@routablebox

routablebox$ ssh -p 33333 -o HostKeyAlias=unroutablebox unroutableuser@locahost

Regards,
Mikael Magnusson



Reply to: