计算机‎ > ‎软件‎ > ‎Linux‎ > ‎

ubuntu安装ssh

发布者:guo rue,发布时间:2014年3月9日 13:09   [ 更新时间:2014年4月23日 20:45 ]
命令只有一条:
sudo apt-get install openssh-server

接下来,通过禁用这个特性来大幅提高登录的速度。首先,打开 sshd_config 文件:
sudo nano /etc/ssh/sshd_config
找到 GSSAPI options 这一节,将下面两行注释掉:
#GSSAPIAuthentication yes
#GSSAPIDelegateCredentials no

然后重新启动 ssh 服务即可:
sudo /etc/init.d/ssh restart