nohup scp -rv vm-folder-1 vm-folder-2 you will be prompted for “host 2” password. Then it’s better to enter multiple VMs leave just a single space between the VM folder name. Start transfering folder nohup scp -rv /vmfs/volumes/data-store1/vm-folder-name Multiple VMs (Folders)įirst change directory to the Datastore folder I am not sure but In some cases the ping might be blocked. Then it will prompt for Password: so enter that.ĭo a ping test from host 1 to host 2 ~ # ping 2.2.2.2 RSA key fingerprint is b2:d6:00:34:aa:cc:62:95:8f:d7:f3:1d:59:1e:c3:54.Īre you sure you want to continue connecting (yes/no)? yes <- Say yes You can SSH into the host 1 using putty(win) or terminal (mac) #ssh The authenticity of host '1.1.1.1 (1.1.1.1)' can't be established. Lets give that host ip 1.1.1.1 and the Host 2 that’s going to receive the file will be 2.2.2.2. Now you can ssh into the esxi host 1 that has the VM that needs to be transferred. Under Firewall check SSH Server Client is checked. Select “ Start and stop manually” and hit Start. Login to both ESXi hosts that you are copying from and copying to and make sure SSH is enabled by following the setups below.Ĭheck under Configuration Tab of the host > Security Profile > Services > Click Properties and check SSH is running if not start I would like to show you how you can copy (using SCP) a virtual machine from one ESXi host to another ESXi host without using a vCenter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |