Full disclosure, I'm a web developer and not a network admin, so this stuff is a little out of my wheelhouse.
I'm trying to use cURL to initiate a SFTP connection and transfer a simple text file to a remote host. When I run this cURL command:
curl -u username:password -T /path/to/file.txt sftp://host.com:22/file.txt
I'm getting this error: curl: (51) SSL peer certificate or SSH remote key was not OK
So I contacted the remote host's admins, and they responded with this message:
Please use our host key ssh-dss 1024 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef
After some digging, I learned I can't generate a public key from the information they provided. I'm not sure what to do with this information. Any advice? I guess I thought I needed a public key file from them...is that correct?
Any and all insight would be greatly appreciated. Thank you!