source.list
debhttp://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
apt-get -y install openssh-server
出現這個錯誤Unable to locate package openssh
可以根據提示先進行安裝openssh-client對用的版本
eg:apt-get install openssh-client=1:6.6p1-2ubuntu2.3
然後在安裝openssh-server就OK啦。