Hi,
I've two PMG servers and they are stand alone. Now I would like to make a cluster of them, but the state keeps syncing.
So, I ran the
The issue is clear for me, but not the solution like a workaround:
syncing master configuration from 'xxx.xxx.xxx.xxx'
root@xxx.xxx.xxx.xxx: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
syncing master configuration from 'xxx.xxx.xxx.xxx' failed: rsync error: error in rsync protocol data stream (code 12) at io.c(231) [Receiver=3.2.7]
The message is correct because PermitRootLogin on all my servers is set to no, and an alternative user is used which has sudo rights to become root.
I couldn`t imagine the Proxmox team hasn`t a better solution than using root to sync for the cluster setup. When it was a one time only sync, I could temporarily change PermitRootLogin to yes, but because the configuration needs to stay in sync, that is not an option.
Any ideas?
I've two PMG servers and they are stand alone. Now I would like to make a cluster of them, but the state keeps syncing.
So, I ran the
pmgcm sync
command to gather more information.The issue is clear for me, but not the solution like a workaround:
syncing master configuration from 'xxx.xxx.xxx.xxx'
root@xxx.xxx.xxx.xxx: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
syncing master configuration from 'xxx.xxx.xxx.xxx' failed: rsync error: error in rsync protocol data stream (code 12) at io.c(231) [Receiver=3.2.7]
The message is correct because PermitRootLogin on all my servers is set to no, and an alternative user is used which has sudo rights to become root.
I couldn`t imagine the Proxmox team hasn`t a better solution than using root to sync for the cluster setup. When it was a one time only sync, I could temporarily change PermitRootLogin to yes, but because the configuration needs to stay in sync, that is not an option.
Any ideas?