I can never remember which switch does this for me without looking it up, so for safe keeping I’ll put it here. I frequently work on my side projects from work, and typically I need to access my @home resources from my work computer.

ssh -L <port.on.work.computer>:<my.home.computers.ip>:<port.the.application.at.home.is.running.on> root@<my.home.computers.ip>

Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2013 Dan's Blog Suffusion theme by Sayontan Sinha