Hacker News new | ask | show | jobs
by dima_vm 1328 days ago
AFAIK, it's possible to require both ssh keys and password.
1 comments

I've found the authentication options to be extremely flexible, thanks, I think to PAM[0]?

With PAM, it's possible to configure any combination of authentication requirements, in any desired order, with optional steps etc.

One can require password AND keys AND physical token, in that order, or password AND keys OR physical token, or any other combination they desire.

With PAM, one could go as far as to write a module requiring them to whistle the scooby doo tune to unlock.

[0]https://en.wikipedia.org/wiki/Linux_PAM