repmgr icon indicating copy to clipboard operation
repmgr copied to clipboard

ssh options for barman connection

Open kilx opened this issue 7 years ago • 1 comments

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.

kilx avatar Jul 27 '18 12:07 kilx

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

rbjorklin avatar Apr 02 '20 23:04 rbjorklin