卡饭网 > ubuntu > 正文

ubuntu 13下安装ssh server

来源:本站整理 作者:梦在深巷 时间:2013-06-07 08:42:17

ubuntu 13下安装ssh server

如果直接运行sudo apt-get install openssh-server,会提示错误,安装不上,

可到下面地址下载deb安装包,

http://pkgs.org/ubuntu-13.04/ubuntu-main-i386/openssh-server_6.1p1-4_i386.deb/download/

然后命令安装

#dpkg -i openssh-server_6.1p1-4_i386.deb

安装完以后,编辑ssh_config

#vi /etc/ssh/sshd_config

去掉下面两行的注解

#GSSAPIAuthentication yes

#GSSAPIDelegateCredentials no

重启服务 /etc/init.d/ssh restart

测试 $ssh test@localhost

相关推荐