I was unable to use
ssh [email protected] -L 8384:raspberrypi.local:8384 -N
to connect to localhost:8384
when installing Syncthing. This was odd because I successfully connected to another service right before with that line (on another port).
Well, it is also of course possible to change
syncthing
's config in~/.config/syncthing/config.xml
to bind the webGUI to some other IP than120.0.0.1
.After changing the config use
sudo systemctl restart [email protected]
withUSER
beeing the user from theHOME
folder to restart the service.It worked with
ssh [email protected] -L 8384:127.0.0.1:8384 -N
.Also, what is maybe interesting to know: The process can be put into background with
It will still print output to the console but by canceling this output with
CTRL-C
the background process will not be canceled and is still doing fine.