In Windows, Putty connects to the Virtual Machine Ubuntu

Source: Internet
Author: User

In Windows, Putty connects to the Virtual Machine Ubuntu

The topic of this article is to use Putty in Windows to connect to Ubuntu in the virtual machine.

In fact, there have been a lot of articles to address such a problem. You can refer to and learn from blogs, but you still encounter many problems in your learning process. Close up your entire problem solving process.

Putty is a lightweight tool that can be downloaded directly without installation. You can click open and enter the information to log on to Ubuntu In the VM.

Problem 1: Openssh must be installed on Ubuntu.

Under Terminal,

Sudo apt-get isatall openssh-server
You can. After the installation is complete, ssh should have been started. You can view it using ps-e | grep ssh. The ssh-related process is successfully displayed.

Problem 2: Disable the Ubuntu Firewall

In fact, I am not sure this is not a problem, because some articles say that the firewall has been disabled when Ubuntu is started.

Write down the Ubuntu firewall command:

Sudo ufw disable

Problem 3: The network adapter connection mode of the virtual machine should use the bridge mode.

Finally, when using Putty to connect to Ubuntu, it is best to test whether the two ends can be pinged first.

Enter the Ubuntu IP address in Putty to log on to the VM.

Finally, using the VM Vim in Putty is good ,:

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.