Is it possible to set up a user on ubuntu with openssh so that ssh does not use password authentication but sftp does?
I assume that if I change /etc/ssh/ssh_config
to have PasswordAuthentication yes
this makes is possible for users to use passwords to login with both ssh and sftp.
Edit: My purpose here is to let some users sftp with a password instead of a keyfile. But I do not want ssh users to be able to login with a password, I want them to have to use a keyfile. If it helps, I do not need the sftp users to be able to login, they only need to do sftp.