FTP not working - 530 Login authentication failed

Better and more secure option is setup SFTP that seems to be more reliable.

I have the same problem and FTP or SFTP is not working. Any Ideas?
Failed to restart pure-ftpd.service

Remove password hashing in cyberpanel source code as a workaround Solved: How to Configure FTP in CyberPanel With Complete Fix - YouTube

I can also use my domain name when logging in.

I did above instrauction then uesd this:

this is the result:

root@aa:~# journalctl -u pure-ftpd --no-pager |sed -e "s|$(hostname)|hostname|g"
-- No entries --
root@aa:~# systemctl status pure-ftpd.service
Unit pure-ftpd.service could not be found.
root@aa:~#

root@aa:~# sudo killall -u ftpuser
root@aa:~# sudo userdel -f ftpuser
root@aa:~# sudo groupdel ftpgroup
root@aa:~# sh <(curl https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel-mods/main/install_vsftpd.sh || wget -O - https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel-mods/main/install_vsftpd.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3140  100  3140    0     0   6157      0 --:--:-- --:--:-- --:--:--  6168

 Remove pure-ftpd ...

/dev/fd/63: 18: pure-ftpd: not found
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'pure-ftpd' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'pure-ftpd' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
ls: cannot access '/etc/pure-ftpd': No such file or directory
Cannot find user ftpuser
failed

Hello @av_admin

Good no traces were left. Now install pureftpd

$ apt-get install pure-ftpd -y
$ systemctl status pure-ftpd

continue to follow the tutorial from here How to Set up Pure-FTPD Server on Centos 7

1 Like

Hello @josephgodwinke
Thanks for reply

I did , it was install and its runing but cannot login trought ftp again, like before…

As a workaround and is the best secure way to transfer files - install bitvise ssh client and log into ssh on the top you will see tabs to swicth to sFTP do it. It should work. This is current workaround most people are using.

Youc an use any other client like cyberduck but bitvise is what I have tested and setup for people multiple times.

1 Like

Yes , its working fine , but it I login in with my ssh credential , I don’t have access to the sites and I need to download files from there…

What do you mean? if you access sFTP as root you see all files on the server


Is this correct ?
How to login?

On the side add username and set initial method as password to add your password. Once you log in click on SFTP tab on the sidebar on the left

Now please tell me how should I access to my website ?


It wont allow me

Did you access SFTP as sudo user or root

1 Like

I have ubuntu so I crate user over installation of ubuntu , so yes I am sudo user not root
root user in ubuntu is disabeld by defualt

Create SFTP account on site management section for site where you need SFTP access. That’s how you wont get problems with file permissions too.

@Dreamer I don’t see the SFTP section … just ftp

Up in the right corner.

So many people have the same issue. I am new to cyber panel and I am thinking about getting out while I can. I have noticed so many issues from FTP - DNS - NAMESERVERS

But I like change and I will have a play for a couple of days and if I can not find a resolution then I will go back to cpanel

The only solution to accessing FTP is by using a non secure password instead of hash. FTP not working - 530 Login authentication failed - #32 by webshanks

But you need to create SFTP account to secure your access.