public key auth problems
Axel
lists at 19q.net
Tue Jan 17 07:38:45 WST 2006
Hello,
I have dropbear 0.47 installed (OpenWRT). The key is type rsa with 2048
bits. The client is MacOSX.
My problem is: I can't get pubkey auth to work. There are no error
messages concerning pubkey auth.
Does someone have a hint for me what maybe wrong? Did I forget something
obvious? Thanks.
Greets
Axel
---on server ---
root at linksys:~# dropbear -E -F -s -p 5555
[544] Jan 17 00:30:10 Not forking
[545] Jan 17 00:30:58 Child connection from 10.x.y.z:49184
[545] Jan 17 00:31:00 exit before auth (user 'root', 0 fails): Exited
normally
---
--- on server ---
# ls -la /root
drwx------ 1 root root 0 Jan 16 21:00 .
drwxr-xr-x 1 root root 0 Jan 1 2000 ..
drwx------ 1 root root 0 Jan 1 23:06 .ssh
[...]
# ls -la /root/.ssh
drwx------ 1 root root 0 Jan 1 23:06 .
drwx------ 1 root root 0 Jan 16 21:00 ..
-rw------- 1 root root 397 Jan 16 22:34 authorized_keys
---
--- on client ---
xl at pax:~$ ssh -i .ssh/privat/linksys -v -p 5555 root at 10.y.z.x
OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data <homedir>/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 10.y.z.x [10.y.z.x] port 5555.
debug1: Connection established.
debug1: identity file .ssh/privat/row type 1
debug1: Remote protocol version 2.0, remote software version dropbear_0.47
debug1: no match: dropbear_0.47
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client blowfish-cbc hmac-md5 zlib
debug1: kex: client->server blowfish-cbc hmac-md5 zlib
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '10.y.z.x' is known and matches the RSA host key.
debug1: Found key in <homedir>/.ssh/known_hosts:98
debug1: ssh_rsa_verify: signature correct
debug1: Enabling compression at level 6.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
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 public key: .ssh/privat/linksys
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
More information about the Dropbear
mailing list