Config Stuck on Registering SSH
Have 2 fresh pi-hole installs via Proxmox containers, service is running on both, gravity-sync installed on both.
» Gravity Sync Remote Host Settings
› Remote Pi-hole host address
? IP: 192.168.0.211
✓ Saving 192.168.0.211 host to gravity-sync.conf
› Remote Pi-hole host username
? User: root
✓ Saving [email protected] to gravity-sync.conf
» Gravity Sync SSH Key Settings
✓ Generating new SSH key
✓ Moving private key to /etc/gravity-sync/gravity-sync.rsa
✓ Moving public key to /etc/gravity-sync/gravity-sync.rsa.pub
✓ Loading gravity-sync.conf
› Registering SSH key to 192.168.0.211
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/etc/gravity-sync/gravity-sync.rsa.pub"
[email protected]'s password:
Permission denied, please try again.
I'm stuck here, I know the root password...but the config seems to be expecting something else? Is it looking for the public key of the other machine?
Kewtz - Did you check that your second node's (192.168.0.211) /etc/ssh/sshd_config has both of these settings to allow the root user to log in?
PasswordAuthentication yes PermitRootLogin yes
Make sure to enable this setting too PubkeyAuthentication yes
Reminder to restart the ssh daemon. You can remove the PasswordAuthentication afterwards
I did verify this on the .211 node. I also reset the root password on both to ensure that wasn't the problem, I continue to get permission denied.
Has this been addressed? I've just spin a new install of Pihole on an Orange Pi Zero 2 with Armbian_24.5.3_Orangepizero2_bookworm_current_6.6.31_minimal and gravity-sync on the other Pihole keeps asking me the user password when I try gravyty-sync push
Effective July 26, 2024, this project has been retired. Thank you for your use and enthusiasm for a project that began as a few lines of bash in a Slack channel and envolved into something far more complex, and used by many thousands of Pi-hole enthusiasts over the last four years.