歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> ubuntu安裝openssh

ubuntu安裝openssh

日期:2017/3/3 12:57:02   编辑:Linux技術
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啦。
Copyright © Linux教程網 All Rights Reserved