FTP principles and vsftpd service configuration

Source: Internet
Author: User

FTP principle and vsftpd service configuration FTP uses TCP protocol as the underlying transmission protocol FTP has two working modes. Traditional FTP supports Active Mode. First, the client connects to port 21 of the server and then the server returns the client will use a random port greater than 1023. Next, the server will initiate a connection from Port 20 to the random port used by the client. The so-called active means that the server will actively initiate the connection. The active mode is also a standard FTP mode because the firewall usually blocks external connections, the Passive Mode becomes apparent. First, it initiates a connection to port 21 on the server side, and then the server generates a random port number and tells the client that the client initiates a connection ---------- I yessplit line ------------- yum install-y vsftpdyum install-y lftp the most widely used FTP service program in Linux is Jiaozuo vsftpd ---- Very Secure FTP Deamonservice vsftpd start/stop/restart directory configuration file/etc /vsftpd. conf vsfipd master configuration file/etc/vsftpd/ftpusers blacklist/etc/vsftpd/user_list Control List by configuration file control blacklist or white/var/ftp shared directory/etc/vsfipd/ vsftpd. confvsftpd automatically creates an anonymous user named anonymous for anyone to use, this line of anonymous_enable = YES lftp 127.0.0.1 does not specify that the user will log on to lftp-u Dazdingo 127.0.0.1 anonymously. The user password will be entered and the user's home directory will be displayed by default. Next we will introduce how to use CLI operation of the FTP directory get filename will download the file to the put filename directory where you logged on will upload the file to your FTP directory. Of course, you must have the corresponding permission to modify anon_uplood_enable = YES. The upload permission for anonymous users is anon_mkdir_write_enable = YES. Anonymous Users are allowed to create folders.

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.