SSH with ssl_openssl and Synapse? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- stem · 2020-07-13 16:04 Hi, I'm trying to connect to a SSH server with ssl_openssl and Synapse - unfortunately with no luck until now. P.S. Reading a https page with THTTPSend works, so I think OpenSSL works. My system: Linux Mint Xfce 18.3 64 Bit. Are there examples or small demos? Thank you! stem ---------------------------------------------------------------------- Thaddy · 2020-07-13 16:09 You are probably trying to connect with one of the legacy protocols that have been removed from openssl (and all serious others). Try a connection with at least tls 1.1 and nothing like ssl2/3/tls1.0. ---------------------------------------------------------------------- rvk · 2020-07-13 16:18 I don't think openssl is enough. You'll need a libssh2.sll to do SSH (or cryptlib which isn't opensource). You can begin here https://forum.lazarus.freepascal.org/index.php/topic,28053.msg178389.h tml#msg178389 Wasn't there a wiki page with a ssh connect example somewhere? Yes. Here https://wiki.freepascal.org/Synapse ---------------------------------------------------------------------- MarkMLl · 2020-07-13 17:16 Quote from: stem on July 13, 2020, 06:04:16 pmI'm trying to connect to a SSH server with ssl_openssl and Synapse - unfortunately with no luck until now. They're completely distinct protocols. As others have said: look for the appropriate libraries. Or alternatively, investigate whether you could wrap a standard SSH client in your code. MarkMLl ---------------------------------------------------------------------- Thaddy · 2020-07-13 18:53 ópenssl is capable of ssh on its own. ---------------------------------------------------------------------- rvk · 2020-07-13 18:57 Quote from: Thaddy on July 13, 2020, 08:53:12 pmópenssl is capable of ssh on its own. I'm sure you can provide us with an example in Lazarus to connect to a SSH server with just openssl, right ---------------------------------------------------------------------- Thaddy · 2020-07-13 19:14 Yess. I will do a write up. Takes 2-3 days.