dotfiles/.bin/OLD/ssh-tunnel

6 lines
93 B
Plaintext
Raw Normal View History

2023-02-22 08:31:38 +01:00
#!/bin/sh
# $1 host
# $2 port
set -x
ssh -fN -o ServerAliveInterval=15 -L $2:localhost:$2 $1