Dropbear for Android Error "Permission denied (publickey)"

Robert rca93 at hotmail.co.uk
Mon Jul 21 18:46:56 WST 2014


Hello,

I'm trying to compile a static dropbear for ARM Android according to the 
set of instructions below
> https://github.com/iMilnb/docs/blob/master/dropbear%2Bsftp-android.md
and the binary has compiled okay but I keep getting the error 
"Permission denied (publickey)" from the client when trying to connect. 
I have tried compiling with both the latest dropbear release and the one 
used in the instructions (|2013.58|) to no avail. I've tried the usual 
solution of putting the client's pubkey in the server's 
'authorized_keys' file which hasn't worked. It's worth noting only key 
authentication access works, I've disabled password authentication. I've 
attached the stdout for server and client too,

Regards,

Rob




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20140721/ea1c5cfa/attachment.htm 
-------------- next part --------------
Client Stdout:
OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.11 [192.168.1.11] port 22.
debug1: Connection established.
debug1: identity file /home/robert/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/robert/.ssh/id_rsa-cert type -1
debug1: identity file /home/robert/.ssh/id_dsa type -1
debug1: identity file /home/robert/.ssh/id_dsa-cert type -1
debug1: identity file /home/robert/.ssh/id_ecdsa type -1
debug1: identity file /home/robert/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version dropbear_2013.58
debug1: no match: dropbear_2013.58
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.4
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA ***********************
debug1: Host '192.168.1.11' is known and matches the RSA host key.
debug1: Found key in /home/robert/.ssh/known_hosts:10
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/robert/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/robert/.ssh/id_dsa
debug1: Trying private key: /home/robert/.ssh/id_ecdsa
debug1: No more authentication methods to try.
Permission denied (publickey).
 
Server Stdout:
[14495] Jul 20 17:20:25 Not backgrounding
[14503] Jul 20 17:20:38 Child connection from 192.168.1.8:39840
[14503] Jul 20 17:20:38 Login attempt for nonexistent user from 192.168.1.8:39840
[14503] Jul 20 17:20:39 Login attempt for nonexistent user from 192.168.1.8:39840
[14503] Jul 20 17:20:39 Exit before auth: Exited normally


More information about the Dropbear mailing list