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:
parent
051b247cea
commit
45c2ee3526
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user