First, download and run the script with the HFCC public key:
# On the HFCC server, generate SSH key: ssh-keygen -t ed25519 -f ~/.ssh/hfcc_control -N "" cat ~/.ssh/hfcc_control.pub # On the REMOTE server, run onboarding: curl -sL https://hermes.kedahan.net/api/onboarding/script -o onboard.sh sudo bash onboard.sh "ssh-ed25519 AAAA..."
hermes-control service account with restricted sudo/opt/hermes-backupsAfter the script completes, go to Servers → Add Server:
hermes-control
SSH Port:22
SSH Key:~/.ssh/hfcc_control
Environment:production / staging / development