I need to test if my server accepting password. How to allow ssh client to use only password auth when pubkey auth configured? You can force your ssh client on a Linux, MacOS, FreeBSD, OpenBSD and Unix-like system to use only password authentication.