Configure SSH, sftp, telnet, and other services

Source: Internet
Author: User
Configure SSH, sftp, telnet, and other services-Linux Enterprise Application-Linux server application information. For more information, see the following section. The ssh and telnet services are both remote logon control servers and cannot be uploaded or downloaded;
To enable the ssh service, run:/etc/init. d/sshd start on the terminal to close and run:/etc/init. d/sshd stop to enable the telnet service.
Run vi/etc/xinetd on the terminal. d/telnet after opening the file, add # comment out before the disable = yes line in it, save and quit, and restart the xinetd service/etc/rc. d/init. d/xinetd restart

Note: telnet does not allow the root user to log on directly. You must first create a common user to log on to the root user. Restrict the upload/download speed of proftpd: in/etc/proftpd. in the conf file, add TransferRate RETR 50 # The download speed is limited to 50 Kbytes/s TransferRate STOR 100 # the upload speed is controlled at 100 Kbytes/s. The sftp service configuration file is a binary file, you cannot modify or restrict users from uploading and downloading, but you can disable the sftp service. In this way, other users cannot use the sftp service by executing the following methods: vi/etc/ssh/sshd_config adds # comment out before the last line in the file that calls the sftp statement, save and exit, and restart the ssh service. scp cannot be used at this time.
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.