SSH algorithms supported in 5.9.1 using winscp.exe /info

Advertisement

Carl_V
Joined:
Posts:
2

SSH algorithms supported in 5.9.1 using winscp.exe /info

I support a legacy application that uses WinSCP 5.9.1 and have been asked by one of our SFTP counterparties which SSH Key Exchange Algorithms, Ciphers, and MACs we support.

According to the documentation page https://winscp.net/eng/docs/ssh_algorithms, I should be able to determine these by running winscp.exe with the /info command line switch.

However, running
winscp.exe /info
from a Windows cmd prompt starts up a WinSCP window, it does not print the algorithm info to the cmd console.

Can anyone please help me determine the SSH Key Exchange Algorithms, Ciphers, and MACs that version 5.9.1 supports?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,453
Location:
Prague, Czechia

Re: SSH algorithms supported in 5.9.1 using winscp.exe /info

Sorry, we do not support old versions of WinSCP. You should upgrade. WinSCP 5.9.1 is almost 6 years old. And it indeed does not support the /info switch.

If you are stuck with 5.9.1, you can download its source code and check what algos does it support.

Look for ssh2_cipher, ssh_kex and ssh_mac definitions like following in the putty subfolder:
static const struct ssh2_cipher ssh_aes256 = {
    aes_make_context, aes_free_context, aes_iv, aes256_key,
    aes_ssh2_encrypt_blk, aes_ssh2_decrypt_blk, NULL, NULL,
    "aes256-cbc",
    16, 256, 32, SSH_CIPHER_IS_CBC, "AES-256 CBC",
    NULL
};

Reply with quote

Carl_V
Joined:
Posts:
2

Many thanks, Martin!

At least for the medium term we are stuck with 5.9.1 as upgrading this application will involve testing against about 150 hosts.

Your suggestion to look for supported algorithms in the source code is very helpful. I think I'll be able to find what I need there.

Thanks again!

Reply with quote

Advertisement

You can post new topics in this forum