How to install Syncthing on a Debian server and configure it

Authmane Terki
1 min readDec 31, 2019


$ curl -s | sudo apt-key add -
$ echo "deb syncthing stable" | sudo tee --append /etc/apt/sources.list
$ sudo apt update
$ sudo apt install syncthing

Then run it to generate a default configuration:

$ syncthing

To make possible to access to Syncthing from outside, change this line in .config/syncthing/config.xml :




Note: I recommend to change the port also!

Run again Syncthing:

$ syncthing

Open Syncthing in your browser:

https://<your server IP>:8384

Warning: Make sure that you connect with HTTPS!

You can ignore your browser’s HTTPS warning.

Now, IMMEDIATELY set a password for Syncthing in Settings — >GUI. Also check “Use HTTPS for GUI”.