You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
202 B

#!/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 $@