On my windows xp machine, I can connect to a remote host via putty and psftp. However I fail to establish a connection with curl. When I enter
curl -v --key priv_key.ppk --pubkey pub_key.pub sftp://firstname.lastname@example.org/~
* SSH authentication methods available: publickey,password * Using ssh public key file pub_key.pub * Using ssh private key file priv_key.ppk * SSH public key authentication failed: Unable to open public key file
I did use the export feature of puttygen to generate a curl comliant private key file, but I do not know how to provide a working public key file. Any hints?