We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
[SOLVED] Help with getting FTP working again
[SOLVED] Help with getting FTP working again
So today I tried uploading a php doc to my server and noticed that I kept getting failed attempts. I have tried a couple of possible solutions on vestacp forums. Here is what I tried so far:
What ever information yalls need I will get it for you, I just want my ftp back ahaha
- Adding "/usr/sbin/nologin" to the doc "/etc/shells" - Did not work
- Edited the vsftpd.conf and altered "pam_service_name=ftp" - broke it more and now says cannot establish connection I did switch it back but still says no connection
What ever information yalls need I will get it for you, I just want my ftp back ahaha
Last edited by rtarson on Tue Jan 22, 2019 3:31 pm, edited 1 time in total.
Re: [URGENT] Help with getting FTP working again
UPDATE: I have connection back now throwing 530 errors again (Login Incorrect)
I think it was due to the number of failed login attempts but still having issue.
I think it was due to the number of failed login attempts but still having issue.
Re: [SOLVED] Help with getting FTP working again
So after trying multiple things I finally found the fix to the issue!
Navigate and open with text editor
Once in there you will see this:
In that file you want to comment out one line:
You should no longer get 530 login errors. I think the problem was I did a server update and it must have reconfigured that file?
Navigate and open with text editor
Code: Select all
sudo vi /etc/pam.d/vsftpd
Code: Select all
#%PAM-1.0
session optional pam_keyinit.so force revoke
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed
auth required pam_shells.so
auth include password-auth
account include password-auth
session required pam_loginuid.so
session include password-auth
Code: Select all
#auth required pam_shells.so
Re: [SOLVED] Help with getting FTP working again
I am having the same issue but that solution did not work for me sadly. Still getting 530 errors.
-
- Posts: 2
- Joined: Thu Sep 24, 2020 9:10 am
- Os: Ubuntu 17x
- Web: apache + nginx
Re: [SOLVED] Help with getting FTP working again
YEAH.. THAT WAS A PROBLEM.
Ftp stop working after sudo yum update. Your solution was fixed it.
Thanks!
Ftp stop working after sudo yum update. Your solution was fixed it.
Thanks!
rtarson wrote: ↑Tue Jan 22, 2019 3:36 pmSo after trying multiple things I finally found the fix to the issue!
Navigate and open with text editorOnce in there you will see this:Code: Select all
sudo vi /etc/pam.d/vsftpd
In that file you want to comment out one line:Code: Select all
#%PAM-1.0 session optional pam_keyinit.so force revoke auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed auth required pam_shells.so auth include password-auth account include password-auth session required pam_loginuid.so session include password-auth
You should no longer get 530 login errors. I think the problem was I did a server update and it must have reconfigured that file?Code: Select all
#auth required pam_shells.so