I am trying to new user that can sftp on a server....i did this
ubuntu@ip-10-112-46-15:~$ sudo useradd jesse -p testPass
ubuntu@ip-10-112-46-15:~$ sudo passwd jesse
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
but when i try to login via sftp I cant get in....am i missing something like adding a group or something
the answer was
PasswordAuthentication yes
"I can't get in" isn't terribly descriptive. What is the error?
Why did you give the user a password, and then change it right away?
The easiest way to debug it is to run sftp in verbose mode:
You might not have a valid shell, you might have AllowUsers or AllowGroups in sshd_config, you might be giving the wrong password, you might have password logins turned off...on and on. We need some more info.