Home > System Tutorial > LINUX > body text

Solution to the problem that SSH cannot connect to Ubuntu Linux in the virtual machine

WBOY
Release: 2024-01-07 14:45:38
forward
975 people have browsed it

Today, I used SSH to connect to the Linux system in the virtual machine under Windows XP, but it never connected. People are depressed. Later I searched a lot online. well. Installed ftp, SSH, smb. None of them were successful. Later it finally succeeded.

First of all:

The system is Ubuntu, the virtual machine VMware simplified Chinese version, 20M. It runs extremely fast in a virtual machine.

1, first change the vmare connection to a bridge connection. Select Bridge in Network Adapters in the virtual machine settings.

2, turn off the hardware verification of the network card in the local connection. The hardware checksum value in the properties is off.

3. In the Linux terminal: ifconfig checks the virtual machine IP. Then whether the virtual IP can be pinged under xp.

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

After ping is successful, telnet vmIP port (SSH default is 22) under xp to see if it can be connected.

if

The above is the detailed content of Solution to the problem that SSH cannot connect to Ubuntu Linux in the virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!