Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
allworldit
awit-ssh-client
Commits
c3f80b0b
Commit
c3f80b0b
authored
Apr 06, 2018
by
Nigel Kukard
Browse files
Merge branch 'removecompression' into 'master'
Remove redundant option compressionlevel See merge request
!45
parents
33b967fa
8b1127db
Changes
1
Hide whitespace changes
Inline
Side-by-side
awit-ssh
View file @
c3f80b0b
...
...
@@ -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-201
7
, AllWorldIT
\n\n
");
print
(
STDERR
"
$NAME
v
$VERSION
- Copyright (c) 2016-201
8
, 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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment