Ok I found the problem !
My key was in 2048 bit ...
I created a new key of 1024 bit and it's working fine now !
SFTP Key Authentication
Re: SFTP Key AuthenticationHello guys!
I'm having the same problem with AndFTP to connect in my SFTP server. 1) the server is configured to do not accept passwd authentication, only key-auth. 2) ppk file was created in puttygen, 1024, and exported as openSSH, with password protection 3) the ppk have -----BEGIN DSA PRIVATE KEY----- and -----END DSA PRIVATE KEY----- but the next lines are Proc-Type: 4,ENCRYPTED and the DEK-Info:... information, and after, the hash. I saw you said your key beginned directly with -----BEGIN DSA PRIVATE KEY----- MIIBvAIBAAKBgQC0fQXAPWcwMN4raub+NMHtjYonr4m71MXqTxOX+583yqv8PD62 ... 4) the ppk file works ok in ConnectBot I configured AndFTP as in FAQ section (in General Tab I put username and in Advanced tab I put the ppk file URI and the password. There still any problem?
Last edited by franzbischoff on Thu Mar 25, 2010 10:03 pm, edited 1 time in total.
Re: SFTP Key AuthenticationFound the problem...
In puttygen, when you select to create a DSA key, it shows 1024, but creates a key with 1023... We need to clear and put 1024 again to make it create a 1024 key. Btw, why AndFTP supports only 1024? 10ks anyway Re: SFTP Key AuthenticationIt's a limitation in implementation. It's going to be improved.
|