Invalid Client Protocol Banner - Null terminated (wodSSH / wodSSH.NET)
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:
- Invalid Client Protocol Banner - Null terminated - AdrianWatkins, 2021-06-08, 13:01
- Invalid Client Protocol Banner - Null terminated - wodSupport, 2021-06-08, 15:09
- Invalid Client Protocol Banner - Null terminated - AdrianWatkins, 2021-06-08, 16:49
- Invalid Client Protocol Banner - Null terminated - wodSupport, 2021-06-08, 18:05
- Invalid Client Protocol Banner - Null terminated - AdrianWatkins, 2021-06-08, 16:49
- Invalid Client Protocol Banner - Null terminated - wodSupport, 2021-06-08, 15:09