Home  >  Article  >  Operation and Maintenance  >  What should I do if I cannot access ssh after installing centos on vmware?

What should I do if I cannot access ssh after installing centos on vmware?

WBOY
WBOYOriginal
2022-04-26 15:24:503712browse

Solution: 1. Check the properties of the Ethernet through the "Change Adapter" option in the network settings; 2. Click "Configuration" in the properties, and set the properties to "IPv4 Hardware Verification" in the advanced options. and" value can be changed to off; 3. If it cannot be accessed after setting, you can disable Ethernet and then enable it.

What should I do if I cannot access ssh after installing centos on vmware?

The operating environment of this article: Windows 10 system, Dell G3 computer.

What should I do if I can't access ssh after vmware installs centos?

The virtual machine has its own LAN IP, so I used bridging, but after using it, I found that ssh suddenly couldn't connect to the virtual machine. The project is also inaccessible. How to deal with it?

Because I want the virtual machine to have its own LAN IP, I used a bridge to facilitate testing.

Here comes the problem:

1. SSH suddenly failed to connect, and the projects on the virtual machine could not be accessed.

2. The virtual machine was connected to the Internet as usual, and there was no problem with pinging each other with the host. I had never encountered this before. I have been in such a situation!

3. It can be said that everything is normal, but the virtual machine just cannot be connected!

4. After various ssh service checks, firewall configurations, etc., None of them work!

After some searching, I accidentally found the following solution: (available for testing)

Solution

1. Find "Change Adapter Options"

What should I do if I cannot access ssh after installing centos on vmware?

2. View the properties of Ethernet

What should I do if I cannot access ssh after installing centos on vmware?

3. Click "Configuration"

What should I do if I cannot access ssh after installing centos on vmware?

4. In the "Advanced" tab, change the value of the attribute "IPv4 Hardware Checksum" to "Off"

What should I do if I cannot access ssh after installing centos on vmware?

5. Use again Xshell tried to connect remotely, and it was connected, ok!

6. If you still can't connect from time to time after setting it up, disable "Ethernet", and then enable it!

Recommended tutorial: "centos tutorial

The above is the detailed content of What should I do if I cannot access ssh after installing centos on vmware?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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