Windows Client access to the FTP application server appears garbled. This is due to the UTF-8 and GBK incompatible with headaches caused by the source way to compile the installation can solve this problem.
Garbled resolution process:
1, first use the RPM-E vsftpd Uninstall system installation default VSFTPD Application ser
Vsftpd configuration details-linux Enterprise Application-Linux server application information-Mago Linux content sharing-the following is a detailed description. Introduction to vsftpd Configuration
Vsftpd (very secure FTP, very secure FTP) is an ftp server software release
directory, while Chroot_local_user=yes, in Chroot_list file users, is not chroot, users can switch to any directory after login.
(d) When Chroot_local_user=yes:yes or no, triggers the user in chroot_list to allow or disallow chroot.
(e) max_clients=10: Limit the maximum number of FTP connections to 10
(f) Max_per_ip=5: Limit the use of up to 5 FTP connections per IP
(g) User_config_dir=/etc/vsftpd/userhomes, a custom user configuration directory that
/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginAccount Sufficient/lib64/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginEstablish real users of the system for virtual usersUseradd jboss-d/data-s/sbin/nologinChown Jboss.jboss/dataNote: On the virtual host server with Nginx, the user is wwwStep three, modify the configuration file# Cp/etc/
Ftp:file Transfer Protocol, Port: control: TCP/21; Data: TCP/20 or random high portFTP has two connections:Command connection (Control connection): TCP/21Data connection (open on Demand):Active mode: TCP/20 (FTP server Active connection client)Passive mode: Random high portFTP has two modes of transmission: Binary, TEXT (default is auto, will match according to file characteristics)SFTP is implemented with OpenSSL, and FTPs is a sub-function of SSH.Sy
VsftpdIs the most popular FTP server program in the Linux release. Features: small, light, secure, and easy to use. Vsftpd is too easy to use. If you don't have any friends, you will be out of date and the speed will be loaded. Next we will take a Q A form to answer questions about vsftpd. All the friends who have read this article know the strength of the next
After studying vsftpd for two days, I found a lot of information from the Internet. If this problem was not solved, I finally solved the problem. The following shows my configuration process. Don't like, don't spray...
1. Install vsftpd
sudo apt-get install vsftpd
Overview of directories after installation
/Etc/
When I routinely checked/var/log/secure logs on the FTP backup server, I found a lot of authentication information for sshd and vsftpd failures. It is obvious that someone wants to use brute force cracking tools to steal passwords, therefore, you need to write a security script to prevent it.
The script requirements are as follows: This SHELL script is placed in the crontab scheduled task and is defined eve
VsftpdIs the most popular FTP server program in the Linux release. Features: small, light, secure, and easy to use. Vsftpd is so easy to use. If you don't have any friends, you will be out of date and the speed will be loaded. Next, let's take a Q A form to answer the question about vsftpd. This is the last article and the next article is waiting for you!
Q1)Can
passwdcolumn = userpass
6. create a folder to store the virtual user configuration file. in/etc/vsftpd/virtual, I put a configuration file template named _ tpl write_enable = YES.
Anon_mkdir_write_enable = YES
Anon_upload_enable = YES
Anon_other_write_enable = YES
It means a homedir is missing.
7. open/etc/vsftpd. conf and set it to # Be sure to have
Listen = YES
# Listen_port = 10021
Connect_fro
VsftpdIs the most popular FTP server program in the Linux release. Features: small, light, secure, and easy to use. Configuration is a little troublesome. The vsftpd. conf file configuration is relatively simple. You can set it as follows:
VSFTPD settings
The configuration file/etc/VSFTPD/
Xferlog_file# Xferlog_std_format=yes## You could change the default value of timing out a idle session (in seconds).#idle_session_timeout =600## The default value for timing out a data connection (in seconds).#data_connection_timeout =120## define a unique user on your system which the# FTP Server can use as a totally isolated and unprivileged user.nopriv_user=vsftpdChroot_local_user=yesListen=yes# Here we use the authentication module for
/to/path/################################################ ###### Vim admin anon_upload_enable=yes download_enable=yes anon_other_write_enable=yes anon_mkdir_write_en Able=yes Anon_world_readable_only=no local_root=/some/to/path/6. Restart VSFTPD Test LoginService vsftpd Restart Lftp-u Username,password host #测试b) Use Pam_mysql to authenticate users1. Create a directory store virtual user profileMkdir/etc/
Overview:
Vsftpd is a well-known FTP server in Linux. Of course, it is preferred to build an FTP server.
This article describes how to install vsftpd in CentOS 6.4 and configure a virtual user to log on to FTP.Body: 1. Install vsftpd
Check whether
and not equal to X) can be connected3. When data transfer is required, the server uses 20 port to establish a connection to the client's Y port to form a data channelPassive mode:1.client Select a random port x (>1023) with the server's 21 port through three handshake to establish a connection, form a command channel2. When data transfer is required, the client sends the PASV command via the command channel to the server3.
After each new installation of the server, will be a series of configuration, installation software, modify configuration, etc., in order to better deploy vsftpd in the future, I hereby write a script for deploymentThere are three ways to log on to FTP, anonymous logon, local user logon, and virtual user logon.Anonymous Logon: Use the default username when you log on to FTP, typically FTP or anonymous.Local
Linux connection vsftpd: 500 OOPS: vsftpd: refusing to run with writable root inside chroot () error, vsftpdrefusing
When a user cannot jump out of the main directory, this error is often encountered when the user logs on to FTP:
[Html]View plaincopy
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
This problem occurs at the latest due
. If the parameter is not explicitly specified in the configuration file, the default value is used. We will ignore the original information in the configuration file, delete or comment out all the content, and add the following four lines. The text on the right of each line is a description, do not enter it in the file:
1. listen = yes // vsftpd works in standalone mode. 3. anonymous_enable = yes // allows anonymous users to log on to the
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.