Not able to login in ftp through shell

  • Posted July 4, 2013

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/<>

Thanks for help in advance


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

<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=“”>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.