Install ssh and vsftpd in ubuntu

Source: Internet
Author: User
Install ssh: sudoapt-getinstallssh use ssh to log on to the Host: sshusername @ ipaddresseg: admin@10.24.0.2 to install vsftpd: vsftpd is one of the FTP daemons that can be used in Ubuntu. It is very convenient for installation, setup and maintenance. To install vsftpd, run the following command: vsftpd-FTP server configuration you can edit and install ssh:
Sudo apt-get install ssh

Log on to the host using ssh:
Ssh username @ ipaddress
Eg admin@10.24.0.2

Install vsftpd:
Vsftpd is one of the FTP daemon that can be used in Ubuntu. It is very convenient for installation, setup and maintenance. To install vsftpd, run the following command:

Vsftpd-FTP Server Configuration

You can edit the vsftpd configuration file/etc/vsftpd. conf to configure the default settings. By default, only anonymous FTP is allowed. If you want to disable this option, you can set the following line:

Anonymous_enable = YES

Change

Anonymous_enable = NO

By default, local system users are not allowed to log on to the FTP server. To change the setting, you can comment out the following line:

# Local_enable = YES

By default, users are allowed to download files from FTP, but they are not allowed to upload files to the FTP server. To upload files to the FTP server, you need to change the settings. you can comment out the following lines:

# Anon_upload_enable = YES

The configuration file contains many configuration parameters. You can obtain information about each parameter in the configuration file, or you can refer to the manual page, man 5 vsftpd. conf describes the details of each parameter. Once you have configured vsftpd, you can run the daemon. You can run the following command to run the vsftpd daemon:

Sudo/etc/init. d/vsftpd start
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.