Cyberduck Mountain Duck CLI

#3181 closed defect (worksforme)

Cannot connect using a password-protected public key

Reported by: Laney Owned by: dkocher
Priority: normal Milestone:
Component: sftp Version: Nightly Build
Severity: normal Keywords:
Cc: Architecture:


I am trying to connect to a host using SFTP with an SSH key, using the latest nightly. The host has password auth disabled. My SSH key is password protected. However the connection always fails with "Publickey authentication failed", without ever asking for a password or to unlock access in the keychain.

Cyberduck should try to use the keychain to get access if it can, to allow this to work.

Change History (3)

comment:1 follow-up: Changed on May 9, 2009 at 11:29:40 AM by dkocher

Can you select the public key in the login dialog?

comment:2 in reply to: ↑ 1 Changed on May 12, 2009 at 10:54:25 PM by SQiShER

Replying to dkocher:

Can you select the public key in the login dialog?

I've been looking for the a solution for this problem for a long time now and now that I read the description of this ticket I finally know, what's going wrong.

I can select the public key file in both, the login dialog and the bookmark configuration, but the login fails every time with the message mentioned above. In my desperation I even tried to enter the password for the key in the username/password fields in the login dialog, but (as expected) it didn't change a thing.

comment:3 Changed on Nov 14, 2009 at 1:44:08 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

I cannot replicate this in version 3.3. Please reopen if this is still an issue for you.

Note: See TracTickets for help on using tickets.