Using client software to operate Linux__linux

Source: Internet
Author: User

Solves the network problem, must begin to establish the FTP server. After the establishment of FTP I can use other machines to remotely upload and download files on the server, so much more convenient.

Ubuntu Linux with an FTP installation package, is VSFTPD. Of course, there are many Linux FTP installation package, there are a lot of data on the Internet to introduce their differences between, of course, the FTP can meet my needs, so began to install this.

In fact, the installation should be very simple: sudo apt-get install VSFTPD. However, because the server is not connected to the Internet, it can only be manually installed, download vsftpd_2.3.5-1ubuntu2_i386.deb. After the decompression, use the above command to install VSFTPD, and then modify the vsftp configuration file:

Listen=yes
anonymous_enable=yes
local_enable=yes
write_enable=yes
local_umask=022
anon_ Mkdir_write_enable=yes
anon_other_write_enable=yes
anon_upload_enable=yes
ftpd_banner=welcometo TGB FTP service
local_root=/srv/ftp
dirmessage_enable=yes
use_localtime=yes
xferlog_enable=yes
connect_from_port_20=yes
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
Rsa_ Cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ Ssl-cert-snakeoil.key


Then start: sudo/etc/init.d/vsftpd restart.

After installing the FTP server, you will need to install the software on the client to upload or download the server files. At this time I chose the securecrsecurefxportable software, this software can complete the various operations of FTP, but also can complete the terminal operation of Linux functions (of course, SSH software is also possible). This time verified the FTP server, upload and download no problem.

After verifying the terminal operation Linux function, no connection succeeded, because it is connected with the SSH protocol, so the feeling is that the Linux system does not open the Opensshserver service. Then use PS-E | grep ssh to see if the Sshserver service is turned on and only one SSH agent service is turned on, proving that Sshserver is not turned on.

An attempt was made to install Sshserver with the command for Sudo apt-get installopenssh-server, but the installation was unsuccessful because there was no networking. It can only be installed manually.

Follow the http://www.linuxidc.com/Linux/2011-10/45574.htm to install the sshserver manually, the installation is successful, but the service is still not turned on. So helpless under the machine room to find a separate router, connected to the Linux server to download the installation of the Internet, after the successful installation, with the command sudo/etc/init.d/ssh start service, with the above command to view the service open, display service has been opened. Then use the client to connect a bit, the test passed. After that, you modify the. bashrc file and add/etc/init.d/ssh start to let Sshserver start.

          This concludes Sshserver installation was successful. So I can now on other machines for terminal control of the remote Linux, can also upload and download Linux files.

Related Article

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.