Page 3 of 3
Re: SFTP Key Authentication
Posted: Mon Dec 21, 2009 10:02 am
by guirenault
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 !
Re: SFTP Key Authentication
Posted: Mon Dec 21, 2009 8:10 pm
by support
Great !
Re: SFTP Key Authentication
Posted: Thu Mar 25, 2010 6:43 pm
by franzbischoff
Hello 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?
Re: SFTP Key Authentication
Posted: Thu Mar 25, 2010 10:01 pm
by franzbischoff
Found 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 Authentication
Posted: Mon Mar 29, 2010 8:17 pm
by support
It's a limitation in implementation. It's going to be improved.