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