Page 1 of 1

Secure FTP and Public Key Authentication

Posted: Fri Dec 22, 2006 9:54 am
by mac1543
Hello. I'm using the latest version of Cyber Duck on my iMac G5 2 GHz. I want to connect a remote server with Secure FTP connection. SSH has already been enabled on the server side. And I have no problem connecting the server with password authentication.

I have created public and private keys with SSHAgent. The public key has been uploaded to the server (.ssh/) at the top root. (That's where I'm supposed to upload the key according to the hosting company.) If I try to connect the server after having Cyber Duck recognize the location of the private key, I get a window requesting me to enter my username and password. If I enter the same username that I use for the password authentication and the passphrase for the keys, I get the following error in red.

"Can't read key due to internal IO problems: jav...led, next byte value is b9 instead of asserted 30"

What am I doing wrong? I don't mean to complain, but I just wonder why Cyberduck needs to request a username? And I'm supposed to enter a passphrase, not a password, right?

I would appreciate any thought.

Thank you in advance. By the way, I think Cyber Duck is a great freeware (or donationware) title.

Tom

Posted: Fri Dec 22, 2006 8:04 pm
by dkocher
See http://trac.cyberduck.ch/ticket/398 for resolutions of this issue suggested by other users.

Posted: Sat Dec 23, 2006 4:53 am
by mac1543
Thanks, dkocher.