System is ubuntu14.04, the system installed by default Openssh-client, but did not install openssh-server, need to manually install
Terminal input: sudo apt-get install openssh-server Download Openssh-server
However, the following prompt appears:
Reading Package List ... Completing the dependency tree that is analyzing the package is reading state information ... Complete Some packages that cannot be installed. If you are using the unstable release, this may be due to the system not being able to meet the status you requested. Some of the packages you need may not have been created or have been removed from the new to (Incoming) directory in this release. The following information may be helpful in resolving a problem: The following packages have unsatisfied dependencies: Openssh-server: Dependency: openssh-client (= 1:6.6P1-2UBUNTU1)
The reason is that the openssh-client is different from the version that Openssh-server relies on, and the workaround is to download openssh-server after downloading the corresponding version of Openssh-client.
Terminal input: sudo apt-get install openssh-client=1:6.6p1-2ubuntu1 download openssh-client.
Openssh-client Download Complete and then enter the openssh-server download command.
After the download is complete, you can enter ps-e | grep ssh to see if the installation was successful. If this occurs, the description is already started.
If not, start the service at Terminal input sudo/etc/init.d/ssh start.
Install Openssh-server under Linux