Curl fails to connect sftp with an error 'curl: (51) SSL peer certificate or SSH remote key was not OK'?
Issue
- Curl fails to connect sftp with an error 'curl: (51) SSL peer certificate or SSH remote key was not OK'?
Environment
- Red Hat Enterprise Linux 7
- curl-7.29.0-54.el7.x86_64
- libssh2-1.8.0-3.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.