Setup Syncthing on Debian

Exported on 23-Aug-2021 15:00:15

Parameters

Name Type Script Reference Default Value Comment
Linux Node Linux / Unix Server linuxNode
Linux User Linux OS Credential linuxUser

1 - Setup system to be ready for Syncthing

The connection details have changed from the last step.

Login as user on node

Connect via SSH
ssh user@hostname
This is a Bash Script make sure you run it with bash -l from a terminal session
sudo apt-get install -y gnupg2
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

sudo apt-get install apt-transport-https

sudo apt-get update
sudo apt-get install syncthing

sudo systemctl enable syncthing@root.service
sudo systemctl start syncthing@root.service
systemctl status syncthing@root.service