Ludovic Court�s <[EMAIL PROTECTED]> writes: > I am new to OpenSSL and I am currently trying to use it to make a simple sort of > `rexec' program. I first started with the examples taken from > http://www.rtfm.com/openssl-examples . > > Actually, the problem I am facing is that my program (which is almost the same > as the one above) just hangs when calling SSL_connect() (SSL_connect() doesn't > perform the connection and just doesn't return). When I interrupt the program, > sshd says: > sshd[199302]: Did not receive identification string from xxx.xxx.xxx.xxx. > (i am using OpenSSH). This is pretty confusing. Are you trying to connect to an OpenSSH server with SSL? That won't work.
> Also, I do not manage to load my OpenSSH private key using > SSL_CTX_use_[RSA]PrivateKey_file(), which are not documented, at least not in > the man pages available on openssl.org. There's no real reason to expect this to work. OpenSSH uses a different keyfile format from OpenSSL. -Ekr ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
