dotfiles/.bin/OLD/ssh-tunnel

6 lines
93 B
Bash
Executable File

#!/bin/sh
# $1 host
# $2 port
set -x
ssh -fN -o ServerAliveInterval=15 -L $2:localhost:$2 $1