Hello, I`ve been trying to use andFTP to connect to my computer through SFTP (SCP) using SSH key authentification and I`m getting an error.
To generate the keys, I used ssh-keygen on Arch Linux, then I copied the private key file to my Tablet (ASUS Transformer 3G 16Gb) and asked AndFTP to use it. I tried with Different sets of RSA keys and DSA keys as well... I`m sure that the keys work because I use them with other devices without any problems...
The error I get on AndFTP is:
Publickey authentification failed. java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing.
If anyone can be of help, thanks in advance =D
P.S.: Using password auth method doesn`t look like an ideal way for me.
SFTP login errorRe: SFTP login errorKey must be in OpenSSH format to work.
Re: SFTP login errorI tried all available formats on opessh and puttygen, without success. Is there any limitation from AndFTP regarding the ssh/sftp protocol or any documentation for setting up my server with AndFTP?
Re: SFTP login errorCould you post here a sample SSH key? (or drop an email to support(at)lysesoft(dot)com)?
We will try your key. Re: SFTP login errornvm, I managed to get it working...
My errors started occurring when I changed the bits for the keys I wanted to use. I probably messed up with some configurations on the ssh-keygen without noticing. When I tried simply creating a key with ssh-keygen (without any options at all) it worked. Sorry for bothering you guys, I'll research more about it (maybe try another options for the key) and then I'll post the results here (so you guys can at it as a tutorial or help section after). Thanks for the support o/ |