SSH connect Ubuntu prompt connection not on the issue

Source: Internet
Author: User

I installed the latest version of Ubuntu on my computer today (I am running under root user, add sudo command for non-root user)

Uname-rvo Run result is

3.13.0-32-generic #57-ubuntu SMP Tue Jul 03:51:08 UTC gnu/linux

The SSH client was installed on its own Windows system, and it found that it was not connected to Ubuntu after it was installed.

After the search, found their own solution, now summarized as follows:

First install the SSH service on Ubuntu and run the following command

Apt-get-install SSH

Go to catalogue/etc/ssh

Edit VI sshd_config File

Find a corresponding line in it

Permitrootlogin Without-password

Change the corresponding value to Yes (there is a buddy said the version is no change to Yes, should be similar, I show here is Without-password)

Restart the SSH service

Service SSH Restart

Then turn off the firewall (Memory command Ubtuntu fire wall. I don't know, right? )

UFW Disable

Record a review, and give a reference to a friend who encounters this problem.

SSH connect Ubuntu prompt connection not on the issue

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.