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
boerwastaken 2017-09-04 11:43:48 +09:00 committed by Axel Burri
parent 8eb88a8681
commit d265c34149
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -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) {