Linux Learning Note One: Remote connection to a Linux server

Source: Internet
Author: User
Tags ftp connection

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

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.