You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] - Exception "Incompatible ssh server (no acceptable mac)" with cipher [email protected] when server sends empty list of MAC algos #2491
AES-GCM is only negotiated as the cipher algorithms "[email protected]" or "[email protected]" and never as an MAC algorithm. Additionally, if AES-GCM is selected as the cipher the exchanged MAC algorithms are ignored and there doesn't have to be a matching MAC.
Actual behavior
Connection throws: paramiko.ssh_exception.IncompatiblePeer: Incompatible ssh server (no acceptable macs)
Activity
saiaprameya commentedon Nov 25, 2026
is this fixed? I am facing too
DEBUG - Remote version/idstring: SSH-2.0-OpenSSH 10.3p1 FIPS PKIX[18.0.2]
paramiko.transport(1944): INFO Connected (version 2.0, client OpenSSH)
INFO - Connected (version 2.0, client OpenSSH)
DEBUG - === Key exchange possibilities ===
DEBUG - kex algos: ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, [email protected]
DEBUG - server key: rsa-sha2-512, rsa-sha2-256, rsa-sha2-512
DEBUG - client encrypt: [email protected]
DEBUG - server encrypt: [email protected]
DEBUG - client mac:
DEBUG - server mac:
DEBUG - client compress: none, [email protected]
DEBUG - server compress: none, [email protected]
DEBUG - client lang:
DEBUG - server lang:
DEBUG - kex follows: False
DEBUG - === Key exchange agreements ===
DEBUG - Strict kex mode: True
DEBUG - Kex: ecdh-sha2-nistp384
DEBUG - HostKey: rsa-sha2-256
DEBUG - Cipher: [email protected]
DEBUG - MAC:
DEBUG - Compression: none
DEBUG - === End of kex handshake ===
DEBUG - EOF in transport thread
is there a workaround ? This is blocking us