The error is as follows:
sudo apt-get install opensshserver is reading the package list ...
Completing the dependency tree that is analyzing the package is reading state information ...
Complete now no available package openssh-server,
But he was quoted by other packages. This may mean that the missing package may have been discarded or can only be found in other publishing sources
E: Package Openssh-server not yet available for installation candidate
Solution : Analysis of the reason is that our apt-get is not updated, of course, if you are the latest system does not update, but I believe that many people need to update it, the Operation command is as follows:
sudo apt-get update
After the update is complete, execute:
sudo apt-get install Openssh-server
Finally we use the command ps-e|grep SSH to see the Open-server installation success, if the following screenshot of the red marked section, the installation is successful.
Ps-e|grep SSH
We can also use the ssh localhost command to detect whether the connection can be, if the following image, and to enter a password, the description is successful.