From 48ddd656f385811994c0af9e6d51657086e093f4 Mon Sep 17 00:00:00 2001 From: Leni Ven Date: Wed, 7 Dec 2022 22:26:28 -0800 Subject: [PATCH] Fix incorrect port forwarding --- home/fish/functions/ssh-forward.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/fish/functions/ssh-forward.fish b/home/fish/functions/ssh-forward.fish index 5d4a7ae..1096f4e 100644 --- a/home/fish/functions/ssh-forward.fish +++ b/home/fish/functions/ssh-forward.fish @@ -3,5 +3,5 @@ function ssh-forward set HOST $argv[1] set PORT $argv[2] - autossh -N -M 0 -L $PORT:$HOST:$PORT + autossh -N -M 0 -L $PORT:localhost:$PORT $HOST end