Access to configuration for syncthing on a headless machine

2021-01-28

This is just a quick note.

Syncthing is awesome. I use it for anything that I want to access on more than one machine: papers, books, projects I'm working on, etc.

To set it up on a new machine, you have to use its web config interface, which is nice but problematic if the machine does not have a display attached (e.g. if it's remote, or a NAS, etc.).

A solution is ssh tunneling. On a local machine with a web browser, run


ssh -L 9988:localhost:8384 username@headless_machine -N

then you open your local browser to localhost:9988 and have access to the config interface for headless_machine.