I'm running a Ubuntu Server 16.04 and had a vsftpd Server that i setup about two months ago with a tutorial (linked HERE). today i needed to add another user with sFTP access and did it in the same way. but now no user is working.
when i want to login i get:
myuser@myuser-Pc:~$ sftp sftpuser@mydomain sftpuser@mydomain's password: Connection to mydomain closed by remote host. Connection closed
my /etc/vsftpd.conf file: https://pastebin.com/rM5rFvyk
my /etc/vsftp.userlist file:
(All users are existing)
It also doesn't run when I remove the new user from the userlist The /etc/vsftp.userlist looks like that then: mysftpuser
I really need the FTP access, i hope someone here can help me.
I fixed the problem. I tried if FTPs (not sFTP) is working on the users and yes it does work. But before I added the second user, sFTP also worked. Why does it not work now? (new question)