dotfiles/scripts/ssh-forward
2017-06-17 18:35:23 +02:00

6 lines
127 B
Bash
Executable file

#!/bin/bash
#Possible to close after execution!
#Hostname = $1
#Local port = $2
#Remote port = $3
ssh -N $1 -L $2:localhost:$3