VMware Cloud Community
kk001
Contributor
Contributor

How to copy/transfer files from ESXi host to Ubuntu VM

Hi, I have uploaded some files to the vSphere ESXi host under datastore1. I now need to transfer these files to one of the Virtual Machines which runs Ubuntu 10.4.

Reply
0 Kudos
3 Replies
AntonVZhbankov
Immortal
Immortal

Enable SSH on ESXi

>On the ESXi console press ALT+F1.

>Type unsupported and hit enter.

>Type in your password – If you did not set a password the type unsupported as the password.

>Now, on the command line type vi /etc/inetd.conf.

>Look for a the line that starts with #ssh.

>Highlight the move your cursor so that is on top of the #.

>Hit x to remove the # from the line.

>Hit Esc key

>type :wq and hit enter.

>To make sure your file saved vi /etc/inetd.conf in the command line and make sure the # is not at the beginning of the line anymore. If it is, repeat steps 5 – 9.

>Restart your ESXi server. SSH is now enabled.

And then you can use scp to work with ESXi from linux.


---

MCITP: SA+VA, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
Reply
0 Kudos
vmroyale
Immortal
Immortal

Hello and welcome to the forums.

You should be able to use scp from either system to move the files.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

For ESXi 4.1 you only have to enable the Remote Tech Support mode service via the DCUI, vsphere client or PowerCLI.

Reply
0 Kudos