]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcod...
authorStefan Priebe <s.priebe@profihost.ag>
Wed, 31 Oct 2012 11:16:56 +0000 (12:16 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 31 Oct 2012 13:05:40 +0000 (14:05 +0100)
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
PVE/API2/Storage/Status.pm
PVE/Storage.pm

index c4b6035633b74f425546762eb4b565ab44b8ad5a..fda54bb04e85b32e63f522e068109c553107581c 100644 (file)
@@ -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);
 
index 271b3f9b3844bdf047f68d5485388f4bd2ae9c3b..b13df2169e60ac79cc2c6e168ad6f61f38c87e14 100755 (executable)
@@ -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;