Hacker News new | ask | show | jobs
by D9u 4600 days ago
Why not disable password logins completely, use PKI for all connections, and while we're at it, restrict logins to known hosts?

Also, don't use passwordless keys.

Then there's moving sshd off of port 22 to provide some obscurity.

Yada yada yada... How many times will we have to go over this subject?

1 comments

Is there any way server-side to determine if a key is passwordless or not?
Not from the public key.
That's what I thought. It's always struck me as a limitation of the ssh auth approach. While I can't insist on a good password, I'd like to be able to insist upon password-protected keys (at least as a default -- exceptions for some system processes / activities).