Cyberduck Mountain Duck CLI

#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 on Oct 14, 2010 at 12:16:53 PM.
Screenshot with Sample Text!

Download all attachments as: .zip

Change History (7)

Changed on Oct 14, 2010 at 12:16:53 PM by alex2010

Screenshot with Sample Text!

comment:1 Changed on Oct 14, 2010 at 1:34:47 PM 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 on Oct 14, 2010 at 1:35:09 PM by dkocher

  • Description modified (diff)

comment:3 follow-up: Changed on Oct 14, 2010 at 4:00:59 PM by alex2010

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

Anything to change on that line?

Last edited on Oct 14, 2010 at 4:48:33 PM by dkocher (previous) (diff)

comment:4 in reply to: ↑ 3 Changed on Oct 14, 2010 at 4:54:19 PM 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 on Oct 15, 2010 at 12:11:19 PM 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 on Oct 15, 2010 at 4:10:14 PM 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