mirror of https://github.com/digint/btrbk
btrbk: make SSH minimally chatty (always add '-q' option)
Fixes digint/btrbk#179: When SSH is chatty (informing of host key rollover etc) the remote command output parser borks.pull/147/merge
parent
8eb88a8681
commit
d265c34149
2
btrbk
2
btrbk
|
@ -1826,7 +1826,7 @@ sub vinfo_rsh($;@)
|
|||
my $ssh_identity = config_key($config, "ssh_identity");
|
||||
my $ssh_compression = config_key($config, "ssh_compression");
|
||||
my $ssh_cipher_spec = config_key($config, "ssh_cipher_spec") // "default";
|
||||
my @ssh_options;
|
||||
my @ssh_options = ('-q');
|
||||
push(@ssh_options, '-p', $ssh_port) if($ssh_port ne "default");
|
||||
push(@ssh_options, '-c', $ssh_cipher_spec) if($ssh_cipher_spec ne "default");
|
||||
if($ssh_identity) {
|
||||
|
|
Loading…
Reference in New Issue