ubuntu 13下安裝ssh server
如果直接運(yùn)行sudo apt-get install openssh-server,會(huì)提示錯(cuò)誤,安裝不上,
可到下面地址下載deb安裝包,
然后命令安裝
#dpkg -i openssh-server_6.1p1-4_i386.deb
安裝完以后,編輯ssh_config
#vi /etc/ssh/sshd_config
去掉下面兩行的注解
#GSSAPIAuthentication yes
#GSSAPIDelegateCredentials no
重啟服務(wù) /etc/init.d/ssh restart
測(cè)試 $ssh test@localhost