I'd like to configure my (debian) machine to allow ssh logins with two different options for authentication:
- ssh public key authentication
- password authentication with a (google) 2 factor authentication code
The best I've been able to do resulted in the 2FA code being required even when I was using an ssh key. But that is a deal breaker.