How to connect Putty to Ubuntu in VMWare

Source: Internet
Author: User
After searching for the tutorial, we all said that the virtual machine network should be in the bridging mode, but it cannot be connected even if it is set to bridging. Some people say it is a problem with IP settings, some say it is a problem with virtual machine network settings, some say it is a problem with the firewall, and I have tried all the tests. The results have not made any progress. Refer to this tutorial: Workshop. Environment: Host OS: wi

After searching for the tutorial, we all said that the virtual machine network should be in the bridging mode, but it cannot be connected even if it is set to bridging. Some people say that the IP settings, some say that virtual machine network settings problems, some say that the firewall problems, can try all tried, the results are not any progress, refer to this tutorial: http://www.linuxidc.com/Linux/2013-05/84818.htm

Virtual Machine NetworkNATMethod of connection, I will try it quickly, and the result will be connected smoothly.

Environment:

Host OS: windows7 64bit

VMWare v9.0.2 build-1031769

Ubuntu 12.10 64bit

Preparations:

Verify that ssh is installed and started in Ubuntu as follows:

Sudo apt-get install openssh-server

If you have not installed ssh, it will be installed. If you are prompted that you have already installed ssh, run the following command:

Ps-e | grep ssh
If only ssh-agent is available, the ssh-server has not been started./etc/init. d/ssh start is required. If you see sshd, the ssh-server has been started.

The method is simple:

1. It is best to first restore the Virtual Machine network configuration to the default, [edit]-> [Virtual Network Editor]-> [Restore Default]

2. In the VM settings, click Network Adapter, select NAT for network connection mode, and click OK.

3. Restart the VM.

4. Open terminal and enter ifconfig to view the current Virtual Machine address (eth0 inet address)

5. Use putty to connect to port 22 of the address.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.