ubuntu16.04 Installing the SSH service and implementing remote access

Source: Internet
Author: User
First, check if the SSH service is installed

Apt-cache Policy Openssh-client Openssh-server

Ubuntu installed by default Openssh-client,openssh-server requires manual installation

Second, the installation of SSH services

Apt-get Install Openssh-server

Third, check the opening status of SSH service

Ps-e|grep SSH

If sshd appears, the SSH service is turned on. If there is only agent, the success has not been enabled

Iv. Open SSH Service

/etc/init.d/ssh start

V. Implement remote Access 5.1, modify the configuration file

Vim/etc/ssh/sshd_config

Comment out Permitrootlogin Without-password

Add Permitrootlogin Yes immediately on the following line

5.2. Restart the SSH service

/etc/init.d/ssh restart

5.3. Check the SSH service opening status

Ps-e|grep SSH

5.4, using putty to achieve remote access to Ubuntu

Input IP, login name, password for remote access to Ubuntu

ubuntu16.04 Installing the SSH service and implementing remote access

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.