Technical information on this site may be out of date : no updates since 2015

ssh port forwarding

February 19 2010 : posted under linux ssh port forwarding

Every now and again I find I have ssh access to one server - which has access to somewhere I need to get to - but I want direct access (eg to forward an X session)


ssh -L 2222:otherserver:22 server

ssh -X -p 2222 localhost

an now I’m logged into othersever with forwarded X