Unable to connect to the virtual machine using SSH. cannot solve the problem

Source: Internet
Author: User
Today, Windows XP uses SSH to connect to the Linux System in the virtual machine. People are depressed... I searched a lot on the Internet later. Alas. Install ftp, SSH, and smb. None of the results were successful. Later, I finally succeeded. First Note: The system is Ubuntu, the virtual machine VMware Simplified Chinese version, 20 M. It runs fast in virtual machines. 1. Change the vmare connection to a bridge first. : 2. Disable hardware verification for the NIC during local connection. 3.

Today, in Windows XP, I used SSH to connect to the Linux System in the virtual machine. People are depressed... I searched a lot on the Internet later. Alas. Install ftp, SSH, and smb. None of the results were successful. Later, I finally succeeded.

Note:

The system is Ubuntu, and the virtual machine VMware Simplified Chinese version, 20 M. It runs fast in virtual machines.

1. Change the vmare connection to a bridge first. :

2. Disable the hardware verification of the NIC during local connection.

3. Check the virtual IP address in ifconfig on the Linux terminal. Then, check whether the virtual IP address can be pinged under xp.

Similarly, in Linux, you also need to ping the local IP address (IP address under XP ).

After the ping is successful, telnet vmIP port (22 by default for SSH) under xp to check whether the connection is successful.

If all of the preceding operations are successful. The connection is passed. You can upload files through SSH and Linux.

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.