Hi Rob,

Your authorized_keys file must only be accessible by the user running dropbear.

chmod -R 600 .ssh



Venlig hilsen / Best regards


Bruno Thomsen
Development engineer
Technology

Kamstrup A/S
Industrivej 28
DK-8660 Skanderborg
Tel:
+45 89 93 10 00
Fax:
+45 89 93 10 01
Dir:
+45 89 93 13 94
E-mail:
b...@kamstrup.dk
Web:
www.kamstrup.dk

From: dropbear-bounces+bth=kamstrup...@ucc.asn.au 
[mailto:dropbear-bounces+bth=kamstrup...@ucc.asn.au] On Behalf Of Robert
Sent: 21. juli 2014 15:18
To: dropbear@ucc.asn.au
Subject: Dropbear for Android Error "Permission denied (publickey)"

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



Reply via email to