|
|
|
|
|
by dkl
4644 days ago
|
|
He's why it's not silly and why disabling password logins and using key-based logins in SSH doesn't increase your security: If you turn off password logins, people will use authorized_keys to in effect get a password-less login. If their public key has a password, this is OK, since they're either using ssh-agent or typing in their password at the time of the login. However, what if their ssh key has no password on it? That gives a password-less login path to my host, which is less secure. The problem is, it is impossible to detect, on the server side, a login with a key with no password. |
|