Install Openssh-server under Linux

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.