# Force Client to Use Password Authentication

Key authentication should _always_ be setup, but sometimes it is necessary to authenticate using passwords—even if for nothing else than to verify passwords are disabled.

```bash
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@domain.com
```

[source](https://unix.stackexchange.com/questions/15138/how-to-force-ssh-client-to-use-only-password-auth)