ssh reverse tunning..

If you want to access some local resources like the release website from the remote server when you are connecting to the remoter server using ssh over VPN, then possibly reverse ssh tunnelling is the best option. So, basically when you are connecting to the remote server, you tell the server your intent to do so and which local resource you want to connect to and on which port.So, here I want to connnet to google.com and tunnel the data to 192.168.131.921:9090 tthough the tunnel, then the command to use will be  ::

ssh google.com -R 8010:172.16.131.92:9090

Now, on the remote server whenever you want to connect to 172.16.131.92:9090, you can do wget http://localhost:8010….

Enhanced by Zemanta

Taking screenshot in firefox.

Couple of days back, I was trying to take screenshot with Firefox. As usual I started out with searching for plugins which could take a screen shot for the whole page and not just the visible portion of the page. Installed couple of them, some did not work. Finally I found something called Development Bar.

So, here is a simple way to take a screenshot. Press “Shift+F12”. This will bring up a bar in the bottom of the firefox window. To take a screenshot, type:

screenshot --fullpage

You can also provide the filename for the screenshot as an argument and find more help about development tool at
http://mxr.mozilla.org/mozilla-central/source/browser/devtools/commandline/BuiltinCommands.jsm

Image representing Firefox as depicted in Crun...
Image via CrunchBase

 

Enhanced by Zemanta