Hi, after installing vsftpd on centos, I am not able to login with my root username and pwd.=error msg->“530 permission denied Login failed”.
How do I add user to multiple domain names for ftp. And how do I make the default home directory to var/www/<domainname.com>
Thanks for help in advance
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
<p>“<strong>Make sure the port is set to 22.</strong>”</p> <br> <br><p>From a security point of view, the consensus seems to be that it’s best to manually change the SSH port (22) to something else (i.e., a random port no.). <u>See</u> <a href=“https://www.digitalocean.com/community/articles/initial-server-setup-with-ubuntu-12-04”>Initial Server Setup with Ubuntu 12.04</a></p>
Make sure the port is set to 22. Check this answer about changing your home directory.
Logging into FTP using root is very dangerous - vpsftpd might not allow it… Create a new user and login using that.