#!/bin/fish function ssh-forward set HOST $argv[1] set PORT $argv[2] autossh -N -M 0 -L $PORT:localhost:$PORT $HOST end