Running the Buildkite agent on Linux
You might need to update some paths/names
mkdir -p .config/systemd/user
nano .config/systemd/user/buildkite-agent.service
sudo loginctl enable-linger nicholas
ssh-keygen -t rsa -b 4096 -C "nicholas@$CRYBERRY"
cat .ssh/id_rsa.pub
ssh-keyscan $CRYBERRY > .ssh/known_hosts
systemctl --user enable buildkite-agent
You can find a copy of the unit file in the agent source code.