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