isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
316 stars 46 forks source link

Unable to agree up client server MAC algorithm/ Failed to read Kex init response #1093

Closed naseemr closed 7 months ago

naseemr commented 7 months ago

Bug description

Not able to ssh

Screenshots

If applicable, add screenshots to help explain your problem

Steps to reproduce

  1. added server
  2. added ssh key
  3. connection failed
  4. Error is thrown Unable to agree up client server MAC algorithm/ Failed to read Kex init response
isontheline commented 7 months ago

Hello @naseemr 👋

Please post error log about the problem you encountered as it seems to be about :

https://webssh.net/documentation/help/SSH/terrapin-attack/

naseemr commented 7 months ago

[2024-04-07 16:01:37 +0000] [INFO] Thank you so much for using WebSSH 25.7.1306 on iOS 17.4.1 🙏 [2024-04-07 16:02:18 +0000] [INFO] Private Key (id_rsa_putt.ppk) need to be upgraded [2024-04-07 16:02:18 +0000] [INFO] Private Key (id_rsa_putt.ppk) has been upgraded [2024-04-07 16:02:35 +0000] [ERROR] 9.5.0.97

2 192.168.86.245 22 SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response Failed. [2024-04-07 16:02:36 +0000] [ERROR] Error : Can not establish connection to 192.168.86.245 [2024-04-07 16:18:34 +0000] [ERROR] 9.5.0.97 2 192.168.86.245 22 SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response Failed. [2024-04-07 16:18:35 +0000] [ERROR] Error : Can not establish connection to 192.168.86.245 [2024-04-07 16:18:46 +0000] [ERROR] 9.5.0.97 2 192.168.86.245 22 SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response Failed. [2024-04-07 16:18:47 +0000] [ERROR] Error : Can not establish connection to 192.168.86.245 [2024-04-07 18:24:11 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:25:11 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:25:55 +0000] [ERROR] 9.5.0.97 2 192.168.86.245 22 SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response SSH-2.0-WebSSH_25.7 SSH-2.0-OpenSSH_9.6 ***@***.*** curve25519-sha256 ***@***.*** diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 ext-info-s ***@***.*** rsa-sha2-512 rsa-sha2-256 ssh-ed25519 ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** aes256-ctr aes192-ctr aes128-ctr ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** ***@***.*** none ***@***.*** none ***@***.*** aes128-ctr aes128-ctr No matching mac algorithms supported. Unable to agree upon server-to-client MAC algorithm. No matching mac algorithms supported. Unable to agree upon client-to-server MAC algorithm. none none curve25519-sha256 ssh-ed25519 Socket connection closed. Socket connection closed. Failed to read KEX init response Failed. [2024-04-07 18:25:56 +0000] [ERROR] Error : Can not establish connection to 192.168.86.245 [2024-04-07 18:26:11 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:27:12 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:28:12 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:29:12 +0000] [INFO] Want to save SFTP Editor state [2024-04-07 18:41:36 +0000] [INFO] Want to save SFTP Editor state Naseem R.
isontheline commented 7 months ago

Please enable again the MAC algorithms : https://webssh.net/documentation/help/SSH/terrapin-attack/#re-enable-etm-mac-algorithms