i cant obtaing admin login via ssh using password. other users can login so the ssh service seems ok,
the client used is open-ssh in a linux envinroment and it reports invalid password while the log from mikrotik reports nothing.
i also tryed on the same mikrotik machine via /system ssh 127.0.0.1 but results the same.
the ssh-key method still works fine.
any suggestion ?
+1
And there are other issues with ssh in 5.x as I stated here: http://forum.mikrotik.com/t/5-x-ssh-bug/46663/3
Sadly this isn’t documented in the manual, but when you define an SSH key for a user account you can no longer use password authentication for that account.
In an OpenSSH example: adding an SSH key for a user account turns on “PasswordAuthentication no” for that account, with no way to change that behavior. So that’s not a bug, that’s expected.
i dont know what exactly does openssh, but in previous version of mikrotik im sure of the ability to login both via publick key and password too.
Seems a bit strange that using authorized_keys in a user account prevents log in from other hosts/users that specified in pubkey.
It’s undocumented and it didn’t work as you say till 5.x … mmmm …
I admin several servers, diferent linux distros, all with OpenSSH, and none of them do what you say. A system user with a password, you add as many ssh keys as you want, and you can login via password as expected.
Are you sure this is a “undocumented feature”? How can I turn off this “feature”? It looks to me like a bug.
I was trying to give a corollary for OpenSSH, I didn’t mean OpenSSH behaves that way.
Mikrotik has referred to this as a feature. If you want an official answer search for other threads and look for their staff responding, or email support@mikrotik.com.