SFTP Key Authentication

FTP client for Android handsets.
guirenault
Posts: 3
Joined: Sun Dec 20, 2009 9:59 am
AntiSpam sum: 8

Re: SFTP Key Authentication

Post 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 ! :D

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: SFTP Key Authentication

Post by support »

Great !

franzbischoff
Posts: 2
Joined: Thu Mar 25, 2010 5:00 pm
AntiSpam sum: 8

Re: SFTP Key Authentication

Post 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? :)
Last edited by franzbischoff on Thu Mar 25, 2010 10:03 pm, edited 1 time in total.

franzbischoff
Posts: 2
Joined: Thu Mar 25, 2010 5:00 pm
AntiSpam sum: 8

Re: SFTP Key Authentication

Post 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

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: SFTP Key Authentication

Post by support »

It's a limitation in implementation. It's going to be improved.

Post Reply