repmgr
repmgr copied to clipboard
ssh options for barman connection
Feature request, a nice to have.
Add ssh_options_barman to repmgr.conf. I know the manual currently recommends using ssh client configuration, but why have ssh_options for repmgr connections then?
It be much more convenient to have the same option or even use the same option as repmgr ssh connection does from the repmgr configuration.
I stumbled across the problem with a default ConnectTimeout when there was a typo on in the barman_host value and the connect too way too long before.
I just ran into this problem too and just wanted to mention that you can work around it by using this configuration for the user running the replication.
# in: ~/.ssh/config
Host *
StrictHostKeyChecking No