Fix incorrect port forwarding
This commit is contained in:
parent
55d73a764a
commit
48ddd656f3
|
@ -3,5 +3,5 @@
|
||||||
function ssh-forward
|
function ssh-forward
|
||||||
set HOST $argv[1]
|
set HOST $argv[1]
|
||||||
set PORT $argv[2]
|
set PORT $argv[2]
|
||||||
autossh -N -M 0 -L $PORT:$HOST:$PORT
|
autossh -N -M 0 -L $PORT:localhost:$PORT $HOST
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue