Install tsocks on your client machine. Tsocks is a application which replaces all connect() calls with it’s own, which means you can run any application though the server/proxy even if it dosent have support for proxy/SOCKS. apt-get install tsocks Update /etc/tsocks.conf server = 127.0.0.1 server_port = 1080 These will need to match the SSH setting, as seen later on. You might want to configure local networks, but that’s up to you.
If you frequently use ssh to login or run commands on a remote machine, it might be helpful for you if you did not have to not enter a password each time you want to connect to the server, this can be done by uploading your public ssh key to the servers ssh files. With a simple command that will upload your public key to the server, create and set all required files and permissions.