OK, so we use Curl to do a load of FTP.
Now I have been assigned with making the first ever SSH connection, but I am seriously struggling getting it up and running.
I having this command line and error issue...
It seems to not be recognizing the host, which is ok as I have not set the 'right' host.
Anyone have any clue(s) to help me along?
Now I have been assigned with making the first ever SSH connection, but I am seriously struggling getting it up and running.
I having this command line and error issue...
Code:
C:\Curl-7\Bin\url --key D:\Keys\PrivateKey.ppk SFTP://IPADDRESS:22 -u Username:Password -v
* About to connect() to IPADDRESS port 22 (#0)
* Trying IPADDRESS... connected
* Connected to IPADDRESS (IPADDRESS) port 22 (#0)
* Failed to read known hosts from C:\Documents and Settings\User\Application Data/_ssh/known_hosts
* SSH host check: 2, key: <none>
* Closing connection #0
* SSL peer certificate or SSH remote key was not OK
curl: (51) SSL peer certificate or SSH remote key was not OK
Anyone have any clue(s) to help me along?