Difference between revisions of "Enable SSH or SCP from one ESXi host to another"
From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Enable SSH or SCP from one ESXi host to another">VMWare vSphere or ESXi|VMWare vSphere or ESXi</yambe:breadcrumb> =Enable SSH or SCP from one ESXi host...") |
m |
||
Line 1: | Line 1: | ||
[[Main_Page|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: | 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: | ||
Line 10: | Line 9: | ||
Refer: | Refer: | ||
* https://communities.vmware.com/t5/ESXi-Discussions/SCP-SSH-not-working-between-ESXi-hosts/td-p/426122 | * https://communities.vmware.com/t5/ESXi-Discussions/SCP-SSH-not-working-between-ESXi-hosts/td-p/426122 | ||
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Enable SSH or SCP from one ESXi host to another]] |
Latest revision as of 08:38, 7 April 2022
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:
- Login into vCenter and go to host from which SSH would be performed
- Go to Configure -> System -> Firewall
- Click "Edit" for incoming tab itself. Enable "SSH client"
- 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