ssh -N -D 9090 [USER]@[SERVER_IP]
The options used are as follows:
-N- Tells SSH not to execute a remote command.
-D 9090- Opens a SOCKS tunnel on the specified port number.
[USER]@[SERVER_IP]- Your remote SSH user and server IP address.
- To run the command in the background use the
If your SSH server is listening on a port other than 22 (the default) use the
-p [PORT_NUMBER] option.
Besides socks, leave other settings empty.