ssh + ssh-keys -> Problem to login from another machine

Hello

Router os: 6.47.9
user: ‘abc’
pass: ‘any’
Can connect from any machine by ssh. Correct.

Import ssh key for user ‘abc’

Cannot login from any machines without priv key
Should be - if there is priv key - login without password
If there is not priv key - ask for password (RouterOS ask) and if password correct - let to get into the system. RouterOS not allow. Just ask again for password

Best
Sylwester

Solution

/ip ssh set always-allow-password-login=yes

How you doing
/user ssh-keys import user=

Mean ?
After import pub key, You cannot login from another machine (account) by ssh by the password (not priv key). To change it in ROS - solution in sec post ‘/ip ssh set always-allow-password-login=yes’

Thanks, had the same issue. Sometimes it’s knowing where to look :-/