Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A quick and easy way to create an SSH SOCKS proxy' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A quick and easy way to create an SSH SOCKS proxy
Authored by: Hansi on Jul 23, '09 09:37:07AM

What does the the N do in the option? I always just use -D port?

And then I use FoxyProxy for firefox to quickly change to using the proxy.



[ Reply to This | # ]
A quick and easy way to create an SSH SOCKS proxy
Authored by: asmeurer on Jul 23, '09 10:19:19AM
I was wondering that too. According to the ssh man page:

     -N      Do not execute a remote command.  This is useful for just forwarding ports (protocol version 2 only).
It looks like it just forwards the ports, without giving you the shell prompt on the remote machine. In my opinion, unless it doesn't work without the -N option, I would leave it out. That way you can still run remote commands if you need to, and you can see any output that the remote machine prints to stdout.

[ Reply to This | # ]