This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 methods available: > publickey,password,keyboard-interactive > Using ssh public key file /home/cdr/.ssh/id_dsa.pub > Using ssh private key file /home/cdr/.ssh/id_dsa > SSH public key authentication failed: Username/PublicKey combination > invalid > Authentication failure > > However, ssh authenticates OK using RSA. ssh -v shows: > > Next authentication method: publickey > Offering public key: /home/cdr/.ssh/id_rsa > Server accepts key: pkalg ssh-rsa blen 279 > read PEM private key done: type RSA > Authentication succeeded (publickey). Look at the output: You're using the wrong keys with the curl command. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |