How to log on to FTP using vsftpd on centos 7 with multiple hosts

Source: Internet
Author: User

How to log on to FTP using vsftpd on centos 7 with multiple hosts

1) yum install vsftpd

2) mkdir-p/var/virtual/zbphp.com/?public_html,logs,backup}

3) useradd zbphp.com-d/var/virtual/zbphp.com

4) configure the vsftpd configuration file/etc/vsftpd. conf to enable chroot_list and add zbphp.com to/etc/vsftpd/chroot_list.

5) change the listening port of vsftpd to xxx and restart vsftpd and systemctl restart vsftpd.

6) passwd zbphp.com -- set the password

7) log on using ftp software

The key part is useradd zbphp.com-d/var/virtual/zbphp.com

On the Internet, useradd zbphp.com-d/var/virtual/zbphp.com-s/sbin/false will cause 530 Login incorrect to report an error.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.