Enable SSH or SCP from one ESXi host to another

From Notes_Wiki

Home > VMWare platform > VMWare vSphere or ESXi > Enable SSH or SCP from one ESXi host to another

It might be required to do scp of a VM folder from one datastore of one ESXi host to another datastore of another ESXi host. This helps in migrating VM (after powering off) from one vCenter / cluster to another vCenter / cluster without requiring ovf export / import middle steps. However, by default outgoing SSH / SCP from ESXi hosts is not allowed due to default firewall rules. Before doing SSH/SCP from one ESXi host to another we need to allow SSH client in firewall rules of that ESXi host using:

  1. Login into vCenter and go to host from which SSH would be performed
  2. Go to Configure -> System -> Firewall
  3. Click "Edit" for incoming tab itself. Enable "SSH client"
  4. After this also if SSH is not working then do the same on destination host also.

Refer:



Home > VMWare platform > VMWare vSphere or ESXi > Enable SSH or SCP from one ESXi host to another