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.