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