Cyberduck Mountain Duck CLI

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5322 closed defect (fixed)

PuTTY private key not detected

Reported by: alex2010 Owned by: dkocher
Priority: high Milestone: 3.7
Component: sftp Version: 3.6.1
Severity: major Keywords: scp ppk key
Cc: Architecture: Intel
Platform: Mac OS X 10.6

Description (last modified by dkocher)

Hi, i am trying to connect to an scp server as i usualy do with winscp now on my mac with cyberduck. I Used SFTP and clicke on Public Key. After that i choose my created "name.ppk"-File and try to connect. It asks for my Password and after connecting i allways get the error

Invalid PEM structure, '-----BEGIN...' missing.

What am i doing wrong?

Thanks for your help!!!! Alex

Attachments (1)

screen.jpg (61.1 KB) - added by alex2010 8 years ago.
Screenshot with Sample Text!

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by alex2010

Screenshot with Sample Text!

comment:1 Changed 8 years ago by dkocher

  • Component changed from core to sftp
  • Owner set to dkocher
  • Summary changed from Invalid PEM structure, '-----BEGIN...' missing. - SCP Connect with private key ppk to PuTTY private key not detected

The keys is not detected as to be a valid PuTTY key. We then try to read the file as PEM formatted key. Can you open the file in a text editor and check that it starts with PuTTY-User-Key-File- on the first line.

comment:2 Changed 8 years ago by dkocher

  • Description modified (diff)

comment:3 follow-up: Changed 8 years ago by alex2010

I just checked it, it starts with: PuTTY-User-Key-File-2: ssh-rsa

Anything to change on that line?

Last edited 8 years ago by dkocher (previous) (diff)

comment:4 in reply to: ↑ 3 Changed 8 years ago by dkocher

  • Milestone set to 3.7
  • Resolution set to fixed
  • Status changed from new to closed

Replying to alex2010:

I just checked it, it starts with: PuTTY-User-Key-File-2: ssh-rsa

Anything to change on that line?

That is fine. However it just comes to my attention that you reported against version 3.6.1. Support for PuTTY keys is scheduled for 3.7 and available for testing in the current snapshot build from http://update.cyberduck.ch/nightly/.

comment:5 Changed 8 years ago by alex2010

Hey dkocher, thanks for your help! I just downloaded Version 3.7 (7327). I only see the bookmark entry now shows a green "light". But i don´t see anything of the server? There´s no file menu or folder structure?

Am I doing still anything wrong?

comment:6 Changed 8 years ago by dkocher

Can you find any related output in the system.log (/Applications/Utilities/Console.app)?

Note: See TracTickets for help on using tickets.
swiss made software