docker在ubuntu镜像下安装ssh协议的时候执行安装ssh-client或ssh-server命令的时候出错。
apt-get install openssh-client apt-get install openssh-server
openssh-server : Depends: openssh-client (= 1:5.9p1-5ubuntu1) but 1:5.9p1-5ubuntu1.1 is to be installed
直接提取版本运行一下命令尝试安装:
user@ken:~$sudo apt-get install openssh-client=1:5.9p1-5ubuntu1