SFTP Key Authentication

FTP client for Android handsets.
teapot
Posts: 2
Joined: Thu May 14, 2009 3:42 am
AntiSpam sum: 8

SFTP Key Authentication

Post by teapot »

Hey guys. Thanks for the great product!

I just have one little feature request. ;) Any chance you guys could add support for key based authentication? A good example of how this could be done is ConnectBot.

Thanks again,
Teapot

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

Re: SFTP Key Authentication

Post by support »

Yes, we're working on it. We plan to add the ability to select a key file that will be used for SFTP.

teapot
Posts: 2
Joined: Thu May 14, 2009 3:42 am
AntiSpam sum: 8

Re: SFTP Key Authentication

Post by teapot »

That's awesome. Thanks very much. :)

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

Re: SFTP Key Authentication

Post by support »

SSH DSA private/public key authentication is available in RC9.

hotaru
Posts: 5
Joined: Fri Nov 06, 2009 2:15 am
AntiSpam sum: 8

Re: SFTP Key Authentication

Post by hotaru »

key authentication seems to be broken. it prompts for a password even tho there's a key file selected. password authentication is disabled on the server. the same openssh dsa key works fine with connectbot.

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

Re: SFTP Key Authentication

Post by support »

Are you sure it's a DSA key ? and not RSA key ?
Did you fill in username, SSH DSA keyfile and key password in FTP settings ?
I've just made a test with my SFTP server and my password protected DSA key and it seems to work.

hotaru
Posts: 5
Joined: Fri Nov 06, 2009 2:15 am
AntiSpam sum: 8

Re: SFTP Key Authentication

Post by hotaru »

yes, it's a dsa key, not password protected.
i filled in the username and key file but no password because there isn't one.

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

Re: SFTP Key Authentication

Post by support »

Is it possible for you to provide me such testing DSA key with an FTP account so I could try to reproduce the problem from here ? If so then send an email to support(at)lysesoft(dot)com

brock
Posts: 2
Joined: Wed Nov 11, 2009 5:33 pm
AntiSpam sum: 8

Re: SFTP Key Authentication

Post by brock »

Hi,

Any updates on this? I'm seeing exactly the same problem. Using a DSA key (generated by ConnectBot), no password. AndFTP keeps asking me for login credentials (my ssh server is set to disallow PasswordAuthentication completely).

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

Re: SFTP Key Authentication

Post by support »

How do you export DSA key generated in ConnectBot to use it in AndFTP ?

I've a DSA key protected by password working in AndFTP. I've generated this key with CPanel tool on my server. It works fine. Then, I've imported this key into ConnectBot and SSH connection works fine too with this key.

Post Reply