I have been facing following problem for several days, but i can't find an exact solution. So I have Centos server on Vmware Workstation and i want make a ssh connection through Putty. But i receive following error.

enter image description here

It also occurs when i try to use mRemoteNG, WinSCP and other tools like that. Some guys say that change keepalives from 0 to anything, and enable TCP keepalives on Putty. But it doesn't work. Thanks in advance.

closed as off-topic by Ron Trunk, Teun Vink Aug 31 '18 at 13:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "NE is a site for to ask and provide answers about professionally managed networks in a business environment. Your question falls outside the areas our community decided are on topic. Please visit the help center for more details. If you disagree with this closure, please ask on Network Engineering Meta." – Ron Trunk, Teun Vink
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Sadly host and application configuration is off-topic here. You can try asking on Server Fault for a professional system, or Super User for a personal one. Be prepared to provide your server configuration. – Ron Trunk Aug 31 '18 at 13:01

Happened to me as well, I have used a workaround instead. Have two network adapters for the VM: First Network Adapter - Bridge Mode (So you are connected to internet - Define the default gateway). If DHCP is running on your internet router, it will be auto assigned. Second Network Adapter - Host Adapter with any VMNet (e.g. VMNet1)- with Static/DHCP Pool on it (Don't give a default gateway in OS because out bound traffic may confuse).

In this way from putty, you can connect from your host computer via Second Network Adapter or you can connect from different computer via the internet router on the First Network Adapter.

Not the answer you're looking for? Browse other questions tagged or ask your own question.