The Host machine runs Vmware Server on Linux and the guest also runs Linux virtual machine.
When trying to ssh from the Host Linux box into the guest Linux box, it just stays with the command and fails to execute or throw an error.It just remains like this.
<nothing happens after this.No error thrown>
The logs(/var/log/ssh or /var/log/auth.log) also doesnt show anything useful.
Host machine can ssh into other machines in the network.
Host machine cannot ssh into any Vms it carries.
Host machine can PING to all Vms aswell as the other machines on the network.
The problem is with the ethernet card settings. We need to tune the ethernet card settings with a tool called ethtool.(see MAN ethtool pages for various options).
By executing the below given command we disable some kernel modules like Rx checksum and scatter gather which solves the problem.
ethtool -K eth0 sg off rx off tx off tso off
Hope some of you found it useful.
8 thoughts on “Cannot SSH into a VMWare Guest.”
Thanks a bunch. I had narrowed the problem down to an interaction of the VMWare and the kernel’s networking code. Your ethtool command resolved the problem perfectly.
Here’s a virtual beer/coffee 🙂
Can you tell more?
horoshiy detskiy oftalmolog yuristy moskvy arbitrazh platezhnye terminaly biznes plan klining rotornaya mashina strahovanie bankovskih vkladov fizicheskih lic sklad ronova klining registraciya zao odincovo finansovyy direktor media pressa kadrovoe agenstvo sidelka
I would like to share with you a link to your site
write me here email@example.com
What if the host machine is Windows Xp? What do we do then?
Open your device manager, open your properties for your NIC, select the advanced tab and turn off all instances of checksum offloading. This will have the same effect.
I’ve read a few excellent stuff here. Certainly price bookmarking for revisiting. I surprise how a lot attempt you set to make any such excellent informative site.