Re: ssh public key authentication problem using curl

2011-11-09 Thread Andrey Repin
Greetings, carolus! You didn't supplied a username to the remote host at all. Quite predictable, you got a name mismatch... Thanks. That was the clue. The following all work, connecting to my cygwin home directory on the server: ssh dell03 sftp dell03 lftp sftp://dell03 but curl

Re: ssh public key authentication problem using curl

2011-11-04 Thread Andrey Repin
Greetings, carolus! What was exact command? curl -v -O sftp://dell03/cygdrive/f/transit_ext/this_is_external_drive.txt (without the newline. I can't get rid of it using the Thunderbird newsreader to write this reply.) And so, what the answer you've expected? You didn't supplied a

Re: ssh public key authentication problem using curl

2011-11-04 Thread carolus
On 11/4/2011 2:33 PM, Andrey Repin wrote: You didn't supplied a username to the remote host at all. Quite predictable, you got a name mismatch... Thanks. That was the clue. The following all work, connecting to my cygwin home directory on the server: ssh dell03 sftp dell03 lftp

Re: ssh public key authentication problem using curl

2011-11-03 Thread Andrey Repin
Greetings, carolus! After setup with ssh-host-config, ssh-user-config, and ssh-copy-id, public key authentication works with ssh but fails with curl. (Password authentication works with curl -u, but is less convenient.) curl -v shows: SSH authentication methods available:

Re: ssh public key authentication problem using curl

2011-11-03 Thread Yaakov (Cygwin/X)
On Tue, 2011-11-01 at 15:24 -0500, carolus wrote: After setup with ssh-host-config, ssh-user-config, and ssh-copy-id, public key authentication works with ssh but fails with curl. (Password authentication works with curl -u, but is less convenient.) curl -v shows: SSH authentication

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 10:51 AM, Andrey Repin wrote: What was exact command? curl -v -O sftp://dell03/cygdrive/f/transit_ext/this_is_external_drive.txt (without the newline. I can't get rid of it using the Thunderbird newsreader to write this reply.) -- Problem reports:

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 6:08 PM, Yaakov (Cygwin/X) wrote: Look at the output: You're using the wrong keys with the curl command. How do I get them right? Why does curl insist on using the DSA key, when ssh is quite happy with the RSA key? I tried appending the public DSA key from the client to

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 6:57 PM, carolus wrote: I tried appending the public DSA key from the client to known_hosts on the server, but that didn't change anything. Correction: What I did was to append id_dsa.pub from the client to authorized_keys on the server, and to delete known_hosts on the server