ubuntu 安装ssh openssh-server

前端之家收集整理的这篇文章主要介绍了ubuntu 安装ssh openssh-server前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

安装过程出错:


sudo apt-get install openssh-server

输出如下错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1)
E: Unable to correct problems,you have held broken packages.


google了一下,直接安装相应的版本就行:

sudo apt-get install openssh-client=1:6.6p1-2ubuntu1

原文链接:https://www.f2er.com/ubuntu/355142.html

猜你在找的Ubuntu相关文章