Cannot connect the server with new FTP account

Worapong

New member
Joined
May 15, 2022
Messages
4
Hello,


I created a new FTP account for my website in FTP management, but I cannot use it to connect with the server. It shows Access Denied.

I also check log in auth.log and it shows Invalid user.

How can I fix it?

BTW, I use Personal package.

Regards,
Worapong
 
Hello.

If it says "invalid user" then most likely the username is wrong.
Check what you created, mostly if you create a new FTP account, it's created like [email protected] so your login name in the FTP client should also state [email protected] and not only "user" als username. Maybe that is the issue?

Also, it can be you have to wait a minute before it works.
 
To clarify more, after I created FTP account, I logged in via SFTP.

From your answer, I already tested it and it does not work.

I tried to find my FTP account in Ubuntu / DirectAdmin, but cannot find the right way to check it. And, how to check if my account is blocked by Firewall or not.

Please help.

Regards,
Worapong N.

Hello.

If it says "invalid user" then most likely the username is wrong.
Check what you created, mostly if you create a new FTP account, it's created like [email protected] so your login name in the FTP client should also state [email protected] and not only "user" als username. Maybe that is the issue?

Also, it can be you have to wait a minute before it works.
 
To clarify more, after I created FTP account, I logged in via SFTP.
That's 2 different things, you did not state that you tried SFTP which is different.
As far as I know, you have to open port 22 (SSH) but that is in use by SSH so you have to change the port for SFTP usage.

Also by default Pure-ftpd is installed with DA, which does not support SFTP. So if you want SFTP, you have to use ProFTPD instead.

Please follow those docs to achieve that.

If you want to test if your FTP account is working, then try first with normal FTP instead of SFTP.
 
Back
Top