[pve-devel] [PATCH] PVE/API2/Nodes: remove hardcoded blowfish cipher PVE/API2/OpenVZ: remove hardcoded blowfish cipher

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


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 PVE/API2/Nodes.pm  |    2 +-
 PVE/API2/OpenVZ.pm |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index c2d9166..559d1ce 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -500,7 +500,7 @@ __PACKAGE__->register_method ({
 	# NOTE: vncterm VNC traffic is already TLS encrypted,
 	# so we select the fastest chipher here (or 'none'?)
 	my $remcmd = $remip ? 
-	    ['/usr/bin/ssh', '-c', 'blowfish-cbc', '-t', $remip] : [];
+	    ['/usr/bin/ssh', '-t', $remip] : [];
 
 	my $shcmd = $user eq 'root at pam' ? [ "/bin/bash", "-l" ] : [ "/bin/login" ];
 
diff --git a/PVE/API2/OpenVZ.pm b/PVE/API2/OpenVZ.pm
index d609167..1385db0 100644
--- a/PVE/API2/OpenVZ.pm
+++ b/PVE/API2/OpenVZ.pm
@@ -862,7 +862,7 @@ __PACKAGE__->register_method ({
 	# NOTE: vncterm VNC traffic is already TLS encrypted,
 	# so we select the fastest chipher here (or 'none'?)
 	my $remcmd = $remip ? 
-	    ['/usr/bin/ssh', '-c', 'blowfish-cbc', '-t', $remip] : [];
+	    ['/usr/bin/ssh', '-t', $remip] : [];
 
 	my $shcmd = [ '/usr/bin/dtach', '-A', 
 		      "/var/run/dtach/vzctlconsole$vmid", 
-- 
1.7.2.5




More information about the pve-devel mailing list