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 (1274 days ago) @ wodSupport

hello - im using WODSSH.dll 3.1.2.232.

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 3.1.2.232

however this stream in hex is:
5353482d312e39392d57654f6e6c79446f20332e312e322e323332000a

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: