I am the admin of a Ubuntu 20.04 server and I want to enable ssh login for a user through password, rather than using key pairs.
The /etc/ssh/ssh_config file on the host looks like this (<username> is replaced by its actual username):
Host* SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yesMatch User <username> PubkeyAuthentication no PreferredAuthentications password PasswordAuthentication yesStill, when he tries to login as:
ssh \<username>@\<host>he receive an error:
Permission denied (publickey)What am I doing wrong?