Page 1 of 1

Publickey authentication failed

Posted: Thu Jan 31, 2013 12:54 pm
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).

Re: Publickey authentication failed

Posted: Sun Feb 03, 2013 9:26 am
by support
Key has to be in OpenSSH format.

Re: Publickey authentication failed

Posted: Sun Feb 03, 2013 9:58 am
by dmizer
Key was created with ssh-keygen on a linux box.