Explorar o código

Not allowing SSH-1 by default.

Source commit: 9fc1e41bb7cf0789ca73c1df283c20aafcbbf05a
Martin Prikryl %!s(int64=9) %!d(string=hai) anos
pai
achega
c1937793a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/core/SessionData.cpp

+ 1 - 1
source/core/SessionData.cpp

@@ -118,7 +118,7 @@ void __fastcall TSessionData::Default()
   GSSAPIServerRealm = L"";
   GSSAPIServerRealm = L"";
   ChangeUsername = false;
   ChangeUsername = false;
   Compression = false;
   Compression = false;
-  SshProt = ssh2;
+  SshProt = ssh2only;
   Ssh2DES = false;
   Ssh2DES = false;
   SshNoUserAuth = false;
   SshNoUserAuth = false;
   for (int Index = 0; Index < CIPHER_COUNT; Index++)
   for (int Index = 0; Index < CIPHER_COUNT; Index++)