how can i make ssh use public keys and password but not only one of them
- User
how can i make ssh use public keys and password but not only one of them
- Assistant
To configure SSH so that it can use both public key authentication and password authentication, you need to ensure both methods are enabled in the SSH server configuration (). This allows for a flexible authentication approach where the server will first attempt public key authentication and, if that fails, will fall back to password authentication.