5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-22 13:34:16 +03:00

PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
This commit is contained in:
Stefan Priebe 2012-10-31 12:16:56 +01:00 committed by Dietmar Maurer
parent 051b247cea
commit 45c2ee3526
2 changed files with 2 additions and 3 deletions

View 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);

View File

@ -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;