Commit 8b1127db authored by Nigel Kukard's avatar Nigel Kukard

Remove redundant option compressionlevel

parent 33b967fa
......@@ -76,10 +76,10 @@ use User::pwent;
my $NAME = "AWIT-SSH-Client";
our $VERSION = "0.8.9";
our $VERSION = "0.8.10";
print(STDERR "$NAME v$VERSION - Copyright (c) 2016-2017, AllWorldIT\n\n");
print(STDERR "$NAME v$VERSION - Copyright (c) 2016-2018, AllWorldIT\n\n");
=head1 OPTIONS
......@@ -590,6 +590,12 @@ if (defined($pkcsProvider) && $pkcsProvider ne "") {
print STDERR "\n";
}
# Notify user we'll be forwarding his authentication agent
if (defined($optctl{'forward-agent'})) {
logger('NOTICE',color('red')."Forwarding authentication agent!".color('reset'));
print STDERR "\n";
}
# Only push the config file override to SSH if the config file exists in the users homedir
if (-f (my $sshConfigFile = $ENV{"HOME"}.'/.ssh/config')) {
push(@sshArgs,'-F',$sshConfigFile);
......@@ -692,7 +698,6 @@ if (defined($forwardHost)) {
@forwardArgs,
# Use basic compression
'-o','Compression=yes',
'-o','CompressionLevel=1',
# All we're doing here is forwarding the port...
'-N',
$loginHost
......@@ -794,7 +799,6 @@ if (defined($forwardSocket)) {
@sshArgs,
# Use basic compression
'-o','Compression=yes',
'-o','CompressionLevel=7'
);
# Run rsync
system('/usr/bin/rsync',
......@@ -836,7 +840,6 @@ if (defined($forwardSocket)) {
@libvirtArgs,
# Use basic compression
'-o','Compression=yes',
'-o','CompressionLevel=7',
# All we're doing here is forwarding the port...
'-N',
$loginHost
......@@ -885,7 +888,6 @@ if (defined($forwardSocket)) {
@sshArgsPortForwards,
# Use basic compression
'-o','Compression=yes',
'-o','CompressionLevel=1',
$loginHost
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment