3
I'm using IBM's Data Explorer to import certain data, but am getting this error:
Protocol sftp not supported or disabled in libcurl.
So from Red Hat I manually ran the command:
curl -user sftp://hostname.com/~/filename.csv
But got this error:
curl: (51) SSL peer certificate or SSH remote key was not OK
To see if SFTP is supported I ran curl -V
and got following:
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Does anyone know what could be wrong? Thanks.
Looks like you key is bad. However there is a remote chance that if this worked previously, the server you are attempting to connect to is having a problem. – mdpc – 2015-01-01T22:26:19.487
I've never had it work. How do I make this key good (I'm not even sure which key)? Thanks. – codebee – 2015-01-01T22:27:34.500