[pve-devel] [PATCH] PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher

Stefan Priebe s.priebe at profihost.ag
Wed Oct 31 12:16:56 CET 2012


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 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;
-- 
1.7.2.5




More information about the pve-devel mailing list