Publickey authentication failed

FTP client for Android handsets.
Post Reply
dmizer
Posts: 2
Joined: Thu Jan 31, 2013 12:45 pm
AntiSpam sum: 8

Publickey authentication failed

Post by dmizer »

I generated a password protected public and private keypair using ssh-keygen on a Linux box with the following command:
ssh-keygen -t rsa -b 4096 -f /home/dmizer/.ssh/andftp

I uploaded the public key to my ssh server and the private key to my android tablet. In advanced settings I pointed andftp to the private key and entered my password. When I attempt to connect, I get an error that says "Invalid PEM structure '----BEGIN...' missing" However, upon inspecting the private key, '----BEGIN..." is most certainly in the file. Since I used openSSH to generate the key, I'm at a loss as to why it doesn't work.

Key attached (it's no longer valid on my server).

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Publickey authentication failed

Post by support »

Key has to be in OpenSSH format.

dmizer
Posts: 2
Joined: Thu Jan 31, 2013 12:45 pm
AntiSpam sum: 8

Re: Publickey authentication failed

Post by dmizer »

Key was created with ssh-keygen on a linux box.

Post Reply