SSH Connector Unsupported SFTP Version

I am using KNIME 4.5.1.
I have a workflow that was using the SSH Connector successfully to connect to an SFTP server.
I updated this node to connect to a replacement SFTP server.
Now I receive Unsupported sftp Version 0 (SshException):
image

However, the same exact connection setup for this server is successful in the SSH Connector (Legacy) node and allows me to download the target file.

Hi @coyleni,

that is a fairly outdated version of Knime you got in use dating back to January 19, 2022.

https://docs.knime.com/2021-12/analytics_platform_installation_guide/index.html?pk_vid=8877836500f3ce531727084693725415#_knime_analytics_platform_4_5_1

In order to eliminate that as a potential cause, I strongly recommend updating to the latest version first.

Best
Mike

1 Like

Hi @mwiegand ,
This has nothing to do with it.
I had my coworkers test on their 5.2.1 and 5.3.1 versions and they get the same exact error.

Hi @coyleni,

that detail was not shared before but glad to know you tested that already. I tried checking the source code. On second thought, I believe this is not a cypher but actual SSH version issue. Hence the clear error message.

The error dialogue indicates that the server uses version 0 but common is version 3 (to my knowledge).

Try connecting to the server via shell in verbose mode to check if that assumption is correct:

SSH: ssh -v user@hostname or ssh -Q protocol-version
SFTP: sftp -vvv user@hostname
telnet: telnet hostname 22

PS: I just happen to have found a post providing more details you might be interested in @coyleni

Best
Mike

1 Like

yes it appears to just be versioning difference, thank you for you help, and providing the related topic @mwiegand

De nada and happy Friday @coyleni!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.