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