Report this

What is the reason for this report?

Not able to login in ftp through shell

Posted on 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/<domainname.com>

Thanks for help in advance



This textbox defaults to using Markdown to format your 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=“https://www.digitalocean.com/community/articles/initial-server-setup-with-ubuntu-12-04”>Initial Server Setup with Ubuntu 12.04</a></p>

Logging into FTP using root is very dangerous - vpsftpd might not allow it… Create a new user and login using that.

Make sure the port is set to 22. Check this answer about changing your home directory.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.