Page 1 of 1

Public key

Posted: Wed Jun 22, 2011 7:46 pm
by alfa
Hello ,

I just downloaded andftp from your web trying it on Desire HD.
I want to just use public key no password. But when i try to connect it asks me for password.
I selected the privatekey in advanced section under ssh Key. Am i doing something wrong ?
Because i can use this server from windows client, without password just with private key

Re: Public key

Posted: Wed Jun 22, 2011 7:57 pm
by support
It may be because the SSH key format is not Open-SSH compliant. So AndFTP to to fall back to regular login/password. Could you double check key file format?

Re: Public key

Posted: Wed Jun 22, 2011 8:02 pm
by alfa
I have created the file using puttygen SSH2-RSA mode.

Re: Public key

Posted: Thu Jun 23, 2011 5:29 am
by alfa
Is ssh2 not compatable ?

Re: Public key

Posted: Thu Jun 23, 2011 4:59 pm
by juanmasg
Same problem here. I'm using a DSA key generated with ssh-keygen.
This is the debug output of the ssh server:

Code: Select all

debug1: trying public key file /home/XXX/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/home/XXX/.ssh'
debug3: secure_filename: checking '/home/XXX'
debug3: secure_filename: terminating check at '/home/XXX'
debug1: matching key found: file /home/XXX/.ssh/authorized_keys, line 1
Found matching DSA key: 1b:42:03:0e:9d:4d:c4:a0:f7:62:0e:6a:d0:aa:93:a2
debug1: restore_uid: 0/0
debug3: mm_answer_keyallowed: key 0x80be940 is allowed
debug3: mm_request_send entering: type 22
debug3: mm_request_receive entering
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
Postponed publickey for jms from 10.15.XX.XXX port 57387 ssh2
Received disconnect from 10.15.XX.XXX: 3: com.jcraft.jsch.w: Auth fail
The server agrees the key, but AndFTP doesn't seem to realize.

I've used the same key file with maany other programs and it always worked, but it seems that AndFTP doesn't like it... :-/

Re: Public key

Posted: Sun Jun 26, 2011 9:17 pm
by support
Could you send it with a testing FTP account to support(at)lysesoft(dot)com?