Windows Putty Connection Virtual machine Ubuntu

Source: Internet
Author: User

The topic of this article is using putty to connect to Ubuntu in virtual machines under Windows.

In fact, for such a problem, already have a lot of articles, blog can reference and study, but in my learning process still encountered can be a lot of problems. Close-up of their entire process of solving the problem.


First of all, Putty is a very light tool, directly downloaded, almost without installation, click Open, fill in the information can be logged into the virtual machine in Ubuntu.


Need to solve the problem one: Ubuntu needs to install OpenSSH.

Under the terminal,

sudo apt-get isatall openssh-server

Can. Once installed here, SSH should have been started and can be viewed using ps-e|grep ssh. The associated process for displaying SSH is successful.


Problems to be solved two: Turn off Ubuntu's firewall

In fact, I'm not sure if this is a problem, because there are articles saying that when Ubuntu starts, the firewall is closed.

or write the command to close the Ubuntu firewall:

sudo ufw disable

problems that need to be addressed three: the network adapter connection for the virtual machine should use bridging mode.



Finally, when using putty to connect Ubuntu, it is best to test whether the two ends can ping.

You can log into the virtual machine by filling in the Ubuntu IP in the putty.


Finally, vim for using virtual machines in putty is good:



Windows Putty Connection Virtual machine Ubuntu

Related Article

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.