Environment: Win7 computer, virtual Linux system through VM, install CentOS7
Access server resources through Xshell connection linux,ftp.
Problems encountered, FTP not connected to Linux
FIX: Install FTP service on Linux
Steps
First, check whether the FTP service is installed
Rpm-qa|grep vsftpd
Second, the installation of FTP services
Yum-y Install VSFTPD
Third, open the FTP service and add to the boot entry
Systemctl start Vsftpd.service (can also use service vsftpd start old version command, systemctl new version command "Note Firewall add port, centOS7 and 6 add differently")
Chkconfig vsftpd on
Iv. Checking the FTP service
Systemctl status Vsftpd.service or service vsftpd status "in extreme cases, you may need to open the firewall FTP port manually"
V. Testing the FTP Service
FTP localhost
Vi. Configuring the FTP service, allowing users such as root to connect remotely
1. Edit the/etc/vsftpd/vsftpd.conf file
Join:
Pam_service_name=vsftpd
Userlist_enable=yes "Whether to enable User_list files"
Tcp_wrappers=yes "Control host access, default YES"
2. Edit/etc/vsftp/user_list
Comment out root, allow root to upload download file
Add: Another common way to remotely connect to Linux is Telnet, which requires the Telnet service to be installed on the Windows side and Linux side.
FTP garbled Solution:
FTP Connection tool connection properties, check the use UTF-8 encoding
SECURECRT garbled Solution:
SECURECRT configuration file under Session subdirectory, locate the corresponding connection file (suffix. ini), modify filenames always use utf=00000001
Linux Learning Note One: Remote connection to a Linux server