mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Pass ssh_options when executing a remote command.
This resolves GitHub #233.
This commit is contained in:
3
repmgr.c
3
repmgr.c
@@ -6519,7 +6519,8 @@ remote_command(const char *host, const char *user, const char *command, PQExpBuf
|
||||
appendPQExpBuffer(&ssh_host, "%s",host);
|
||||
|
||||
maxlen_snprintf(ssh_command,
|
||||
"ssh -o Batchmode=yes %s %s",
|
||||
"ssh -o Batchmode=yes %s %s %s",
|
||||
options.ssh_options,
|
||||
ssh_host.data,
|
||||
command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user