From 45c2ee3526880cd162400e3267ae09110e5e8e32 Mon Sep 17 00:00:00 2001 From: Stefan Priebe Date: Wed, 31 Oct 2012 12:16:56 +0100 Subject: [PATCH] PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher Signed-off-by: Stefan Priebe --- PVE/API2/Storage/Status.pm | 2 +- PVE/Storage.pm | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index c4b6035..fda54bb 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -340,7 +340,7 @@ __PACKAGE__->register_method ({ if ($node ne 'localhost' && $node ne PVE::INotify::nodename()) { my $remip = PVE::Cluster::remote_node_ip($node); - my @ssh_options = ('-o', 'BatchMode=yes', '-c', 'blowfish-cbc'); + my @ssh_options = ('-o', 'BatchMode=yes'); my @remcmd = ('/usr/bin/ssh', @ssh_options, $remip); diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 271b3f9..b13df21 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -337,8 +337,7 @@ sub storage_migrate { my $errstr = "unable to migrate '$volid' to '${target_volid}' on host '$target_host'"; - # blowfish is a fast block cipher, much faster then 3des - my $sshoptions = "-c blowfish -o 'BatchMode=yes'"; + my $sshoptions = "-o 'BatchMode=yes'"; my $ssh = "/usr/bin/ssh $sshoptions"; local $ENV{RSYNC_RSH} = $ssh;