I am reposting this tutorial for future’s reference.
Also, to check if vsftpd service is running or not, you can use
shell>service --status-all | grep vsftpd
And to control vsftpd service, you can use
shell>/etc/init.d/vsftpd start
shell>/etc/init.d/vsftpd stop
shell>/etc/init.d/vsftpd restart
And to make vsftpd automatically start everytime system is rebooted, you can run
shell>chkconif vsftpd on
In addittion, it is recommended that you set up a dedicated ftp user account whoes SSH connection is denied and to do so:
shell>useradd ftp_user
shell>passwd ftp_user
shell>usermod -s /sbin/nologin ftp_user
Leave a Reply