1. Information
-
See https://docs.syncthing.net/users/introducer.html.
Computer name Operating System Device ID ------------- ---------------- --------------------------------------------------------------- BACKSLASH3 Windows 11 Home 52NRV24-W2KZGQI-A44PKHS-B7ZUIBK-QL3Z6DC-7P66OQR-VU6D5WX-5W5MIQF HOMENB-FRL01 Windows 11 Pro XLP7BLY-BDLW3HH-M3KUNKF-74VYKPD-6GA2JFR-QEQR6SX-65JDJXG-V664FQ6 vbox-debian Debian 13 M4G5TJU-2SXA2SE-JVJAJNL-TQYFDAC-3B53DTF-BLVDLKF-BVKXC43-E2ZHOQ5
Two devices will only connect and talk to each other if they are both configured with each other’s device ID. Since the configuration must be mutual for a connection to happen, device IDs don’t need to be kept secret. They are essentially part of the public key.
2. Linux
2.1. Installation
-
Enter the following commands at a Command Line.
sudo apt-get install apt-transport-https sudo apt-get install ca-certificates # Add the release PGP keys: sudo mkdir -p /etc/apt/keyrings sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg # The stable-v2 channel is updated with stable release builds, usually every first Tuesday of the month. # Add the "stable-v2" channel to the APT sources. echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee --append /etc/apt/sources.list.d/syncthing.list # The candidate channel is updated with release candidate builds, usually every second Tuesday of the month. # These predate the corresponding stable builds by about three weeks. # Add the "candidate" channel to the APT sources, but leave it commented out. echo "#deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee --append /etc/apt/sources.list.d/syncthing.list sudo apt-get update sudo apt-get install syncthing which syncthing # /usr/bin/syncthing syncthing --version # syncthing v2.0.15 "Hafnium Hornet" (go1.26.0 linux-amd64) debian@github.syncthing.net 2026-02-11 10:41:38 UTC [noupgrade] dpkg -L syncthing
2.2. Configuration
-
See https://forum.syncthing.net/t/getting-started-on-headless-linux/13325/8.
-
See https://askubuntu.com/questions/1209269/how-to-connect-to-localhost-of-headless-server-for-syncthing.
-
Enter the following commands at a Command Line.
file="/etc/ssh/sshd_config" # Back up original file if backup file is missing. if [ -f "${file}" ] && [ ! -f "${file}.org" ]; then sudo cp -a "${file}" "${file}.org"; fi sudo sed -i "s/#AllowTcpForwarding yes/AllowTcpForwarding yes/" "${file}" diff "${file}.org" "${file}" sudo systemctl restart ssh
3. Windows
3.1. Installation
-
Download the latest version from https://github.com/Bill-Stewart/SyncthingWindowsSetup.
-
Run the syncthing-windows-setup.exe file with standard user privileges.
-
Click Next.
-
Click Next.
C:\Users\Douwe\AppData\Local\Programs\Syncthing
-
Click Next.
-
Click Next.
Automatic upgrade interval, in hours (0 to disable; default is 12): 12 GUI configuration page listen address (default is 127.0.0.1): 127.0.0.1 GUI configuration page listen port (default is 8384): 8384 Relays enabled ('false' or 'true', default is 'true'): true -
Click Next.
+ Start Syncthing automatically when logging on - Start automatically only if the computer is running AC power + Start Syncthing after installation - Create desktop shortcut for Syncthing configuration page -
Click Next.
-
Click Install.
-
Click Yes to create Windows Firewall rule for Syncthing.
-
Uncheck Open Syncthing configuration page.
- Open Syncthing configuration page
-
Click Finish.
3.2. Configuration
-
Start Syncthing > Syncthing Configuration Page.
-
Click No to disallow Anonymous Usage Reporting.
-
Click Settings to set up username and password.
-
Select the GUI tab.
-
For GUI Authentication User type
Delta. -
For GUI Authentication Password type the Level 2 passsword.
-
For GUI Authentication User type
Douwe. -
For GUI Authentication Password type the Level 4 passsword.
-
Check Use HTTPS for GUI.
-
Check Start Browser.
-
Click Save.
-
Type the username and password and click Log In.
-
Click Add Folder.
-
For Folder Label type
Syncthing. -
For Folder Path type
~.Folder Label Syncthing Folder ID jmxjd-eiqcc BACKSLASH3 - Windows 11 Home Folder ID thcyu-gqpaf HOMENB-FRL01 - Windows 11 Pro Folder Path ~\Syncthing
-
Click Save.
-
Select Actions > Log Out.