Use an SOCKS5 proxy through an SSH tunnel

From calomel.org

ssh and direct connect (SOCKS5) :

The following line will start the ssh client and connect to username@remote_machine.com.

Port 8080 on localhost (127.0.0.1) will listen for requests and send them to the remote machine.

The remote machine will then send the packets out as if they originated from itself.
ssh -C2qTnN -D 8080 username@remote_machine.com
Leave it running. And just configure the SOCKS5 proxy in the browser (localhost:8080)

Advertisements

How to mount a remote filesystem with SSHFS

We can mount a remote filesystem (username@servername:/remotefilesystem) in a local mountpoint (/local_mountpoint) with SSHFS:

sshfs -C -o idmap=user username@servername:/remotefilesystem /local_mountpoint

extra options:
-C use compression
-o idmap=user translate user ID of connecting user to allow local editing/saving of remote files.

To unmount use:

fusermount -u /local_mountpoint

or

umount /local_mountpoint

you may have to use administrative privileges.

For details consult:

the sshfs man page

SSH Filesystem oficial webpage

wikipedia entry