Tuesday, August 9, 2011

remote ssh forwarding

for some reason I always forget the syntax to forward a port on my server to my local system to work remotely from home on some of my webapps.

Now to not forget it again, I shall write it down on my blog, so I can just look at it...

ssh -L port:remoteServer:port remoteServer

now this let's me access the 'port' on my 'remoteServer' on my local system and work on the webapp. Now I just have to rewrite all the absolute paths to relative paths, so that I can find my css stylesheets too...

No comments:

Post a Comment