Ubuntu Open SSH Service (14.04)

Source: Internet
Author: User
Tags ssh server


Update Ubuntu Source

Open "Terminal Window", enter "sudo apt-get update", terminal window can use the search file terminal under the GUI.


Installing the SSH server

Ubuntu has an SSH client installed by default, but no server

Open "Terminal window" and enter "sudo apt-get installopenssh-server"


To see if the SSH service is started

Open "Terminal window" and enter "sudo ps-e|grepssh"

An sshd appears stating that the SSH service has started.


Modifying a configuration file using Gedit

sudo gedit/etc/ssh/sshd_config

Permitrootloginwithout-password "Plus" # comment out, there is this sentence the password is set to the root account is not SSH login.

Add "Permitrootloginyes", this sentence allows the root user to log in


Change the root account password

sudo pwsswd root


-----------------

sudo service Sshstart//start SSH services

sudo service sshrestart//restart SSH services


This article is from the "Thatway" blog, make sure to keep this source http://thatway.blog.51cto.com/4815281/1863090

Ubuntu Open SSH Service (14.04)

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.