I get the following error with SFTP:
Feb 5 21:10:04 b449918f5a15 sshd[53]: Server listening on 0.0.0.0 port 22.
Feb 5 21:10:04 b449918f5a15 sshd[53]: Server listening on :: port 22.
Feb 5 21:16:13 b449918f5a15 sshd[85]: Invalid user user from 10.24.0.30
Feb 5 21:16:13 b449918f5a15 sshd[85]: input_userauth_request: invalid user user [preauth]
Feb 5 21:16:13 b449918f5a15 sshd[85]: error: Could not get shadow information for NOUSER
Feb 5 21:16:13 b449918f5a15 sshd[85]: Failed password for invalid user user from 10.24.0.30 port 55055 ssh2
Feb 5 21:16:13 b449918f5a15 sshd[85]: error: Received disconnect from 10.24.0.30 port 55055:13: Unable to authenticate [preauth]
Feb 5 21:16:13 b449918f5a15 sshd[85]: Disconnected from 10.24.0.30 port 55055 [preauth]
I have created the users.conf with users as:
user1:password:1001:100
I just want to be able to login with username and password where I have jailed the user to a folder.
How can I fix it?