Hi!
I flashed today my new Asus RT-AC85P router.
I copied my public key to the router with the command: ssh-copy-id root@192.168.XX.XXX
But when i try to connetct with ssh, it prompts formy password.
Here are the last lines from the output with ssh -vvv root@192.168.XX.XXX:
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/fricsz/.ssh/id_ecdsa ECDSA SHA256:3zH1fGDilBbj2xKkC4h9N03KdAhG9Sf4qLwk30cBCKE agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/XX/.ssh/id_rsa
debug3: no such identity: /home/XX/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/XX/.ssh/id_dsa
debug3: no such identity: /home/XX/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/XX/.ssh/id_ecdsa_sk
debug3: no such identity: /home/XX/.ssh/id_ecdsa_sk: No such file or directory
debug1: Trying private key: /home/XX/.ssh/id_ed25519
debug3: no such identity: /home/XX/.ssh/id_ed25519: No such file or directory
debug1: Trying private key: /home/XX/.ssh/id_ed25519_sk
debug3: no such identity: /home/XX/.ssh/id_ed25519_sk: No such file or directory
debug1: Trying private key: /home/XX/.ssh/id_xmss
debug3: no such identity: /home/XX/.ssh/id_xmss: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
I have id_ecdsa.pub in /home/XX/.ssh directory, but it serches id_ecda_sk. I can ssh with my key to my rpi-s and to cloud servers.
I copied over Luci my public key too, but nothing changed.
Please, help, what did i wrong.