I would like for sshd to verify the users' public key and then prompt for their password, rather than just one or the other. Is this possible?
|
feedback
|
|
Not presently. But there are some patches floating around that are supposed to add this. | |||
|
feedback
|
|
It is possible but in a kludgish and limited sort of way. First you only allow public key authentication. Then in The script will break SFTP unless you check that the command is sftp and allow it through without a password. I've never tried this so somebody may be able to see more issues. | |||
|
feedback
|