Install SSH under Ubuntu

Source: Internet
Author: User
Tags openssh server

Ubuntu 14.04 has recently been re-installed under the virtual machine, possibly because some of the steps in the installation process have been skip, so the previously installed software was not installed by default this time. Just want to use SECURECRT to Telnet under Windows, and found that login is not on. Suspected that Ubuntu did not open ssh, so

[Email protected]:~$ ps-e |grep SSH

Output has only one row

2156? 00:00:00 ssh-agent

Prove that Ssh-server did not start, try to start with/etc/init.d/ssh start, but did not find the corresponding file.

Then use

[Email protected]:~$ sudo apt-get install Openssh-server

Install OpenSSH server side and finish again

[Email protected]:~$ ps-e |grep SSH

The output at this time:

2156? 00:00:00 ssh-agent
7884? 00:00:00 sshd

Proof that the SSH service has started, SSH again under Windows, and successfully logged in.

Install SSH under Ubuntu

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.