当你遇到“package openssh-server has no installation candidate”这个错误时,通常意味着你的系统的软件包管理器无法在当前配置的软件源中找到openssh-server包。以下是一些可能的解决步骤: 确认操作系统及版本: 确保你正在使用的操作系统和版本支持openssh-server包。openssh-server在大多数Linux发行版中都是可用的,...
This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package openssh-server has no installation candidate 执行:sudo apt-get update 也提示更新失败,或者无内容可更新。 解决方案:sudo vim /etc/network/interfaces修改ip,重启。 执行:sudo apt-get...
This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package openssh-server has no installation candidate 执行:sudo apt-get update 也提示更新失败,或者无内容可更新。 解决方案:sudo vim /etc/network/interfaces修改ip,重启。 执行:sudo apt-get...
Docker启动ubuntu容器中安装后报错,E: Unable to locate package openssh-server 2019-12-12 15:31 −问题: 我们在ubuntu容器中安装openssh-server时会发生如下错误: 这是因为ubuntu软件源出问题,导致无法找到或者下载软件,一般原因是刚安装的Ubantu后没有更新软件源或者更新后但是没有sudo apt-get update,导致找...
安装以后终端程序进入bin目录下执行如下命令,让这个目录下的sh命令行脚本可以执行: chmod u+x *.sh 3、在 Ubuntu 上安装 ssh 服务 终端程序中执行如下命令,可安装 ssh 服务: sudo apt-get install openssh-server 安装完成以后,可以执行如下命令,看看服务是否已经启动: ps -e|grep ssh 启动服务的命令如下: su...
这种情况通常发生在你在本地计算机上设置了一个用密码保护的私有SSH密钥。 解决这个问题的方法是,设置一个SSH代理,代理可以解锁你的SSH密钥,代你与包管理器进行身份验证。按照你的操作系统对应部分的说明进行操作: 为Windows设置OpenSSH 为macOS添加SSH密钥到你的SSH代理 Setting up OpenSSH for Windows(为Windows设置...
2016-08-18 14:09 −最近将公司的台式机安装了ubuntu16.04,安装之后,使用apt-get install openssh-server 发现出现:Package 'openssh-server' has no installation candidate 的问题。下面主要讲解一下解决问题的办法: 1、... ljy2013 0 3588 Ubuntu 出现apt-get: Package has no installation candidate问题 ...
\windows\System32\OpenSSH C:\ProgramData\Chocolatey\bin C:\Program Files\Microsoft\Web Platform Installer C:\Program Files\Docker C:\Program Files\PowerShell\7 C:\Program Files\dotnet C:\Program Files\Microsoft SQL Server\130\Tools\Binn C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\...
As a workaround, reconfigure the SSH server by entering the command: $ dpkg-reconfigure --frontend=noninteractive openssh-server Starting with Release 32.2, you can run oem-config in headless mode (with no display connected). In headless mode oem-config displays a Network Configuration screen, ...
最近将公司的台式机安装了ubuntu16.04,安装之后,使用apt-get install openssh-server 发现出现:Package 'openssh-server' has no installation candidate的问题。下面主要讲解一下解决问题的办法: 1、出现上面的问题主要原因是源的问题。于是可以将ubuntu的源修改一下,ubuntu的源文件主要存放在/etc/apt/sources.list文件...