OpenWrt ssh key login. Does Not Work - True/False ?!

ssh-keygen + upload id_rsa.pub with LUCI/UI

I run ssh get asked for password.

If i uncheck "Allow SSH password authentication" or " Allow the root user to login with password" i get permission denied with root or anyother key.

I have tried so many things, if i read one my tutorial about setting up ssh no password thats says "SOLVED" in the title i think i might go crazy.

Could someone please advise me IF openwrt-ssh works without password ?

If so, could i please have the method of configuration.

Thank you very much.

Yes, it works.

Is this the SSH key, or something else?

screen685

1 Like

where did you store the key, on the router ?

2 Likes

Since you uploaded the key using Luci, can you confirm that the key is present in the keys page?
Are you still using dropbear ssh server, or have you changed to OpenSSH?
On the client, are you using the correct private key when connecting to the OpenWrt?
What is the verbose output of OpenSSH client? ssh -vvv root@openwrt.lan

3 Likes

Yes, it works fine, both as a server and as a client.

1 Like

thank you very much everyone.

1 Like