This is for example necessary, to use SCP between two ESXi Servers.
Check the firewall configuration as follows: Start the VMWare Client. Select the ESXi Host. Select the Configuration Tab, then Security Profile. In Services select "Firewall" and enable the SSH Client.