Debian/Syncthing

Syncthing を Debian on ThinkPad X230 に Install 。

https://apt.syncthing.net/

Debian/Ubuntu Packages

To allow the system to check the packages authenticity, you need to provide the release key.

# 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

curl が入っていなかったので、

sudo apt install curl

で Install 。

The stable channel is updated with stable release builds, usually every first Tuesday of the month.

# Add the "stable" channel to your APT sources:
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /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 your APT sources:
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list

And finally.

# Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing

続いて、システムにサービスとして登録し、指定したフォルダやファイルがいつでも同期されるようにする。

複数のPCでファイルを同期する「Syncthing」を使ってみた #Linux - Qiita

sudo systemctl enable syncthing@${USER}.service
sudo systemctl start syncthing@${USER}.service