apt-get install openssh-server 主要报错是:Unable to correct problems, you have held broken packages. 此时解决方法:sudo apt-get install openssh-client=1:5.3p1-3ubuntu3 将open-client=后面的版本号 改为报错信息中你已经安装的openssh-client 版本号 解决 ssh localhost 输入密码 但是 Permission denied,...
可能存在一些依赖问题或者软件源出了问题。先把软件源换到ubuntu官方源,然后update,upgrade,将所有已经安装的软件更新一下,然后apt-get -f install修复一下破损的依赖关系。最后再来试试安装openssh
解决办法: sudo apt-get autoremove openssh-client 然后重新安装: sudo apt-get install openssh-client openssh-server 启动sshd服务: sudo /etc/init.d/ssh start
sudo apt-get install openssh-server failed Err:1 http://125.39.35.130/files/405300000832DF49/archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-client amd64 1:7.2p2-4ubuntu1 Could not connect to 125.39.35.130:80 (125.39.35.130). - connect (111: Connection refused) E: Failed to ...
2 回答sudo apt-get install php5 3 回答apt-get update都失败了...怎么办 3 回答openssh-server安装不成功 2 回答sudo apt-get install 命令总是unable to locate package 是为什么 2 回答Ubuntu 下 apt-get update 报错 搜索更多本课相关问答 ...
可能存在一些依赖问题或者软件源出了问题。 先把软件源换到ubuntu官方源, 然后update,upgrade,将所有已经安装的软件更新一下, 然后apt-get -f install修复一下破损的依赖关系。 最后再来试试安装openssh
源没有找到,是不是源没有配置对。
需要手动安装 终端输入: sudo apt-get install openssh-server 下载openssh-server 但出现下列提示: ...
- `apt-get install -y openssh-server`命令用来安装openssh-server软件包。`-y`参数是用来自动确认安装,避免在安装过程中需要手动确认。 通过上述步骤,我们就成功使用apt-get在Kubernetes中安装了openssh-server。现在你可以使用SSH连接到这个Pod,并进行远程管理或调试工作。