How to install SSH under Ubuntu and improve the speed of SSH login authentication

Source: Internet
Author: User
Tags openssh server

installing OpenSSH Server under Ubuntu is an incredibly easy thing to do, requiring only one command: sudo apt-get install openssh--e |<   c4> grep ssh If only ssh-agent that Ssh-server has not started, need/etc/init.d/ssh start, if see sshd that means ssh-server has been started. SSH-server configuration file located in/etc/ssh//etc/init.d/ssh resart reprinted from: http://BLOG.CSDN.NET/XMQ _666/article/details/6302683

steps to improve the speed of SSH login for Ubuntu step one close SSH GSSAPI certification VI/etc/ssh/Ssh_config comment out the following two lines gssapiauthentication yesgssapidelegatecredentials no step two close ssh usednsvi/etc/ssh/sshd_config Note: Ubuntu sshd_config files do not have usedns parameters, and as far as I know, other classes*nix, *bsd operating system sshd_config all have usedns parameters, and they are the default"Usedns Yes", it is estimated that Ubuntu sshd_config, although not usedns, it is also the default"Usedns Yes"Then, insert the following line at the end of the Sshd_config Usedns No and execute the instructions"/etc/init.d/ssh Restart", restart SSH service, configuration effective after testing, using this method, Ubuntu certification time is greatly shortened, the original login certification generally takes 10 seconds more than 15 seconds or so, some time even reached more than 20 seconds to 30 seconds or so, and after this modification, The time to login for Ubuntu will be reduced to less than 3 seconds.
Reprinted from: http://www.linuxidc.com/Linux/2014-09/106810.htm

How to install SSH under Ubuntu and improve the speed of SSH login authentication

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.