Suggestion ScSSHShell dont use tbytes, use tstringstream
After a few hours i got ScSSHShell1.ReadNoWait to work. You use tbytes, that perhaps can be described as an ancient technique? My oldest bok from 2005 dosen't cover it.
To find that I must write ReadNoWait(aTbytes,MyLength); and not just ReadNoWait(aTbytes,MyLength) did take a lot of research, also how to convert to a string "SetString(aString, PAnsiChar(@aTbytes), Length(aTbytes))" was not easy. Most exempels dealt with tbytes already in ANSI.
Why not just use a TstringStream instead of tbytes?