ssh-mitm icon indicating copy to clipboard operation
ssh-mitm copied to clipboard

Not working when client connected using SSH-2.0-paramiko_2.0.2

Open saias-dev opened this issue 3 years ago • 1 comments

Hello,

Its possibly my setup so I could be wrong, but it appears to me that clients that connected via SSH-2.0-paramiko_2.0.2 are not logged into the shell_session_0.txt files. Is anyone else experiencing this? Is there a fix?

thanks!

saias-dev avatar Apr 29 '22 02:04 saias-dev

Paramiko had some major changes, because with OpenSSH 8.9 rsa signatures are deprecated. This mitm tool is based on OpenSSH 7.5, which is fairly old and has some compatibility issues with current ssh implementations.

With the change to OpenSSH 8.9 a lot of client libraries has to be rewritten to use current signature algorithms. Those compatibility issues can be avoided by changing the ssh server config to support the new default algorithms.

@saias-dev if it is possible for you, you can downgrade paramiko to a vesion < 2.0.0. This should work with the default configuration of this tool.

@jtesta could you provide a default server config, which is compatible with the changes introduced by OpenSSH 8.9?

hmaier1996 avatar Jun 13 '22 13:06 hmaier1996