Change in sshtest.pas line 32 to comm.PrivateKey:='';
because in telnetsshclient line 107 the password is left blank when PrivateKey <> ''.
With this change I can connect to my ubuntu box
Thanks a lot. Better to sleep on it - it seemed like a good idea at the time, maybe pop up a warning or something. Don't know enough about SSH to know if it will accept a wrong key and then a correct password
I can connect as well, I'll leave my troubles with the command output for later.
Note that Synapse defaults to not check certificates against the issuer. So any private certificate is accepted as long as it is well formed. When you use the "standard" ssh client it will show the self signed certificate and ask you to accept it or not.
Mmmmhh.... AFAIK, SSH keys are not issued by a CA, but generated by the host box. But that may be what you mean, and I might be wrong again, also
.
I'll check that later - it would be ideal if I could run it with a private key and a passphrase, but a plain private key without passphrase would be fine, too.
Thanks for the help!