Putty Connect Ubuntu

Source: Internet
Author: User
Tags ssh server

1, install SSH sudo apt-get install openssh-server

2. Check if the SSH service starts sudo ps-e |grep ssh

3, if not started, enter "sudo service ssh start"-and enter-->SSH service will start or start ssh Server sudo/etc/init.d/ssh start

4. use Gedit to modify the configuration file "/etc/ssh/sshd_config"

Open terminal window, enter "sudo gedit/etc/ssh/sshd_config"-and enter "Permitrootlogin Without-password" in the configuration file with a "#" number, Comment It out-and add a "Permitrootlogin yes"

5. Enter sudo ifconfig view IP

Encountered the problem, has been Putty connection, modified the network settings, from the original NAT mode modified to bridge mode can be connected to normal, online search reason: Because the two systems are not the same LAN, can not communicate with each other.

Putty Connect 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.