as the README file in dropbear-201463, I found that "Dropbear does not support encrypted hostkeys though can connect to ssh-agent." which i guess means that it cannot be log in with a public key.
在 2012年1月11日星期三UTC+8上午7时48分57秒,CC Ma写道: > > So I generated a public key and private key pair on my ubuntu host > using dsa, copied and pasted the public key's content to my > beagleboard's ~/.ssh/authorized_keys file. > > However, I still couldn't connect to my beagleboard using just the > public key authentication. > > I tried copying the content over to ~/.ssh/authorized_keys2, /etc/ > dropbear/authorized_keys, and /etc/dropbear/authorized_keys2, but I > still failed to connect via public key authentication. > > I made sure all my authorized_keys or authorized_keys2 files were > chmod 0700 and their containing directories chmod 0600. > > My running dropbear on beagleboard is: > /usr/sbin/dropbear -s -r /etc/dropbear/dropbear_rsa_host_key -p 22 > > The the final few lines of my debug output I get when connecting is > (ssh -vv -i ~/.ssh/id_dsa root@beagleboard): > .......................... > ........................ > debug2: kex_derive_keys > debug2: set_newkeys: mode 1 > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug2: set_newkeys: mode 0 > debug1: SSH2_MSG_NEWKEYS received > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug2: service_accept: ssh-userauth > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug2: key: id_dsa.pub (0x7fd08146c480) > debug1: Authentications that can continue: publickey > debug1: Next authentication method: publickey > debug1: Offering public key: id_dsa.pub > debug2: we sent a publickey packet, wait for reply > debug1: Authentications that can continue: publickey > debug2: we did not send a packet, disable method > debug1: No more authentication methods to try. > Permission denied (publickey). > > > Does any one know how to resolve this problem? > > thanks -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.