dotfiles/.bin/ssh-tunnel
2023-02-22 08:31:38 +01:00

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