[SUPPORT] - <title>
Are you using paramiko as a client or server?
Server
What feature(s) aren't working right?
Keys/auth
What version(s) of paramiko are you using?
5.0.0
What version(s) of Python are you using?
3.14
What operating system and version are you using?
windows 11
If you're connecting as a client, which SSH server are you connecting to?
custom (AMX Netlinx master)
If you're using paramiko as part of another tool, which tool/version?
No response
What are you trying to do with paramiko?
connect from AMX master the AMX master i think is using the older SHA1 stuff states is running SSH-2.0-OpenSSH_9.8
How are you trying to do it, and what's happening instead?
the AMX master i think is using the older SHA1 stuff states is running SSH-2.0-OpenSSH_9.8
and of course, i get: "Incompatible ssh peer (no acceptable kex algorithm)"
this is the log of the client offers:
DEB [20260709-21:56:59.406] thr=1 paramiko.transport: kex algos: diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1
DEB [20260709-21:56:59.406] thr=1 paramiko.transport: server key: ssh-rsa, ssh-dssisnt diffie-hellman-group-exchange-sha256 still supported? (i see it defined in the preferred kex list)
i did a test of paramiko-4.0.0 and after i patched in #2083 it of course works
or is this all related to the "rsa-ssh" removal and not really the KEX
just trying to LEARN, im a SSH newbie but did get it working using 4.0.0 and here is log
DEB [20260709-22:46:25.312] thr=1 paramiko.transport: === Key exchange agreements ===
DEB [20260709-22:46:25.312] thr=1 paramiko.transport: Kex: diffie-hellman-group14-sha1
DEB [20260709-22:46:25.312] thr=1 paramiko.transport: HostKey: ssh-rsa
DEB [20260709-22:46:25.312] thr=1 paramiko.transport: Cipher: aes128-ctr
DEB [20260709-22:46:25.312] thr=1 paramiko.transport: MAC: hmac-sha2-256
DEB [20260709-22:46:25.313] thr=1 paramiko.transport: Compression: none
DEB [20260709-22:46:25.313] thr=1 paramiko.transport: === End of kex handshake ===Anything else?
No response
Source: paramiko/paramiko