Page 1 of 1

Can only use SSH public key login with 'admin' user

Posted: Thu Nov 12, 2020 7:14 pm
by dignetsol
Hi, I have successfully setup SSH login for scripts (without password) using a pub/priv key on local router and a public key associated with the user on the remote router. However, the user I have done this with is the 'admin' user, which is a bad idea! So I have tried setting up a second user (called user1) and importing keys at both ends for that. Unfortunately, it doesn't work. I know its sending the key because I can see the exchange going on in the ssh debug from the remote router. However, the debug doesn't tell me what the problem is.

My RouterOS versions are 6.46.7 at both ends.

Can someone give me a clue what I might be doing wrong please?

Tom