From 95fc19358858595b96a2b01cfc8357345005dd9b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 17 Nov 2015 02:54:44 +0100 Subject: Drop arcfour cipher usage (not enabled by default in latest openssh packages) --- iurt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iurt') diff --git a/iurt b/iurt index 570f9d5..43136b6 100755 --- a/iurt +++ b/iurt @@ -715,7 +715,7 @@ if (!$run{stop}) { if ($config->{rsync_to} && !$run{no_rsync}) { # remove some old and very big log files not to saturate the server system(qq(find $local_spool/log/ -name "*.log" \\( -size +$config->{log_size_limit} -or -mtime +$config->{log_size_date} \\) -exec rm -f {} \\;)); - system('rsync', '--delete', '-alHPe', 'ssh -xc arcfour', "$local_spool/log/", "$config->{rsync_to}/$run{distro_tag}/$run{my_arch}/$run{media}/log/"); + system('rsync', '--delete', '-alHPe', 'ssh -x', "$local_spool/log/", "$config->{rsync_to}/$run{distro_tag}/$run{my_arch}/$run{media}/log/"); } # The next loop should be moved in a module someday @@ -1069,7 +1069,7 @@ send_status_mail(\%run, $config, $cache) if $run{status_mail}; if ($config->{rsync_to} && !$run{no_rsync}) { # remove some old and very big log files not to saturate the server system(qq(find $local_spool/log/ -name "*.log" \\( -size +$config->{log_size_limit} -or -mtime +$config->{log_size_date} \\) -exec rm -f {} \\;)); - system('rsync', '--delete', '-alHPe', 'ssh -xc arcfour', "$local_spool/log/", "$config->{rsync_to}/$run{distro_tag}/$run{my_arch}/$run{media}/log/"); + system('rsync', '--delete', '-alHPe', 'ssh -x', "$local_spool/log/", "$config->{rsync_to}/$run{distro_tag}/$run{my_arch}/$run{media}/log/"); } unlink "$run{pidfile_home}/$run{pidfile}" if $run{pidfile}; -- cgit v1.2.1