default to not manually specifying an SSH cipher

This commit is contained in:
jimsalterjrs 2017-11-08 11:02:39 -05:00
parent 0be8076145
commit 368a9fe78e
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@ my $sshcipher;
if (defined $args{'c'}) {
$sshcipher = "-c $args{'c'}";
} else {
$sshcipher = '-c chacha20-poly1305@openssh.com,arcfour';
# default to no cipher specified now that SSH
# has not defaulted to a cripplingly slow cipher
# in a very long time
$sshcipher = '';
}
my $sshport = '-p 22';
my $sshoption;