Skip to content

Instantly share code, notes, and snippets.

@mloberg
Last active October 3, 2021 02:53
Show Gist options
  • Save mloberg/af37e1867c286fe80972aa0abddb0291 to your computer and use it in GitHub Desktop.
Save mloberg/af37e1867c286fe80972aa0abddb0291 to your computer and use it in GitHub Desktop.
Raspberry Pi Setup
# /etc/systemd/system/sshb0t.service
[Unit]
Description=Sync ssh keys
After=network.target
[Service]
Type=simple
User=mloberg
WorkingDirectory=/home/mloberg
ExecStart=/usr/local/bin/sshb0t --interval 1h --user mloberg
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment