首页 > 系统服务 > 详细

ubuntu 安装 ssh

时间:2015-10-12 11:54:46      阅读:1314      评论:0      收藏:0      [点我收藏+]

我的系统是Linux Ubuntu 14.04 LTS的。 
我想安装Hadoop,之前要安装ssh。 

1. 执行sudo apt-get install ssh,系统提示:Depends: openssh-server (>= 1:6.6p1-2ubuntu1) but it is not going to be installed。 
说依赖openssh-server。 

2. 那我就执行sudo apt-get install openssh-server。 
系统又提示:openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2 is to be installed。 
说依赖openssh-client (= 1:6.6p1-2ubuntu1)。 

3. 我再执行sudo apt-get install openssh-client。 
又提示:openssh-client is already the newest version. 
说openssh-client 已经是最新版本了。 
安装openssh-server非要openssh-client 1:6.6p1-2ubuntu1的,我机器上面已经安装了openssh-client 1:6.6p1-2ubuntu2,怎么办?

 

解决办法:

sudo apt-get install aptitude 
sudo aptitude install openssh-server

ubuntu 安装 ssh

原文:http://www.cnblogs.com/wwicked/p/4870872.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!