#!/bin/bash # socks-proxy.sh # GPLv3+ # Creates a SOCKS proxy from the local machine to the host on the commandline. # Usage: # socks-proxy.sh [hostname] set -x ssh -S none -N -D 8080 $@