mirror of
https://github.com/ergosteur/ssh-protocol-handler-win.git
synced 2026-04-19 13:39:33 -04:00
Add AES-256-CBC cipher option for legacy mode
This commit is contained in:
@@ -142,7 +142,7 @@ REM ============================================================================
|
|||||||
echo.
|
echo.
|
||||||
SET /P "LEGACY_CHOICE=Enable legacy mode for old devices? (y/N): "
|
SET /P "LEGACY_CHOICE=Enable legacy mode for old devices? (y/N): "
|
||||||
IF /I "!LEGACY_CHOICE!"=="Y" (
|
IF /I "!LEGACY_CHOICE!"=="Y" (
|
||||||
SET "LegacyOpts=-o KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-rsa -o MACs=+hmac-sha1,hmac-sha1-96"
|
SET "LegacyOpts=-o KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-rsa -o MACs=+hmac-sha1,hmac-sha1-96 -o ciphers=+aes256-cbc"
|
||||||
echo.
|
echo.
|
||||||
echo [!] Legacy mode enabled. Insecure algorithms will be offered.
|
echo [!] Legacy mode enabled. Insecure algorithms will be offered.
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user