Invalid Client Protocol Banner - Null terminated - WeOnlyDo Discussion board

Invalid Client Protocol Banner - Null terminated (wodSSH / wodSSH.NET)

by AdrianWatkins, Tuesday, June 08, 2021, 16:49 (726 days ago) @ wodSupport

hello - im using WODSSH.dll

I make an outbound SSH Connectionn and the intiial protocol exchange is a banner from the server:

Protocol: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2\r\n

followed by the client (WODSSH):

Protocol: SSH-1.99-WeOnlyDo

however this stream in hex is:

as you can see this is terminated 0x00 and 0x0a

My code has been in use for ages and Ive been asked to see why its not connecting to Ubuntu but works to Cisco devices for SSH. The 00 is disliked as the RFC says this shouldnt be included.

I have tried changing the Client name with SSH.ClientName but whilst this changes the name, it is still terminated with 00 0a and thus fails.

Note: This is ActiveX

Complete thread: