When installing ssh in Ubuntu, the software package openssh-server does not have a candidate for installation. The following error occurs: sudoapt-getinstallopensshserver is reading the package list... the dependency tree of the software package being analyzed is reading status information... there is no available software package openssh-server, but it is referenced by other software packages. This may mean that the missing software package may have been discarded, or only
When installing ssh in Ubuntu, the software package openssh-server does not have a candidate for installation.
The error is as follows::
Sudo apt-get install opensshserver is reading the package list...
The dependency tree of the software package being analyzed is reading status information...
There is no available software package openssh-server,
But he is referenced by other software packages. This may mean that the missing software package may have been discarded, or it can only be found in other release sources.
E: The software package openssh-server has no candidates for installation.
Solution: The reason for the analysis is that our apt-get is not updated. Of course, if your system is the latest, you do not need to update it. But I believe many people need to update it. The operation command is as follows:
Sudo apt-get update
After the update is completed, execute:
Sudo apt-get install openssh-server
Finally, run the command ps-e | grep ssh to check whether the open-server is successfully installed. If the following red lines are displayed, the installation is successful.
Ps-e | grep ssh
We can also use the ssh localhost command to check whether the connection can be established. If a password is required, the connection is successful.
SSH password-free login configuration http://www.linuxidc.com/Linux/2013-03/80488.htm under CentOS 6.0
Approach to improving the SSH login authentication speed for Ubuntu http://www.linuxidc.com/Linux/2014-09/106810.htm
Enable SSH service for Android phones to remotely access Ubuntu 14.04 http://www.linuxidc.com/Linux/2014-09/106809.htm
How to add a dual authentication http://www.linuxidc.com/Linux/2014-08/105998.htm for SSH in Linux
Configure the SFTP environment http://www.linuxidc.com/Linux/2014-08/105865.htm for non-SSH users in Linux
Http://www.linuxidc.com/Linux/2014-06/103627.htm for configuring and managing SSH services on Linux
SSH getting started basic learning tutorials http://www.linuxidc.com/Linux/2014-06/103008.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/112033.htm