Ssh key authentication failed

Hello
we have the device TRB140.
We want to connect from our debian server with ssh key authentication.
I have configured the device by dropbear manual:

admin@TRB140:~/.ssh$ pwd
/usr/local/home/admin/.ssh
admin@TRB140:~/.ssh$ ls -ltra
drwxrwxr-x 3 admin user 360 Jul 10 18:43 ..
drwx------ 2 admin user 232 Jul 10 18:48 .
-rw------- 1 admin user 852 Jul 21 12:02 authorized_keys

But when I connect from our server it is not successfully:

debug2: pubkey_prepare: done
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,rsa-sha2-256>
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /omd/sites/aspcentral/.ssh/id_rsa RSA SHA256:…
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /omd/sites/aspcentral/.ssh/id_dsa
debug1: Trying private key: /omd/sites/aspcentral/.ssh/id_ecdsa
debug1: Trying private key: /omd/sites/aspcentral/.ssh/id_ecdsa_sk
debug1: Offering public key: /omd/sites/aspcentral/.ssh/id_ed25519 ED25519 …
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /omd/sites/aspcentral/.ssh/id_ed25519_sk
debug1: Trying private key: /omd/sites/aspcentral/.ssh/id_xmss
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
admin@172.x.x.x’s password:

How can I debug the error?

Best Regards
Udo

Hello, you’re connecting as the user admin not as root. Please try logging in with the username root.

Regards,
M.

This topic was automatically closed after 60 days. New replies are no longer allowed.