Community discussions

MikroTik App
just joined
Topic Author
Posts: 1
Joined: Thu Nov 12, 2020 7:06 pm

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

Thu Nov 12, 2020 7:14 pm

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?


Who is online

Users browsing this forum: H3ronimous, talz and 72 guests