Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a ESXi server with a Ubuntu server host running. I need to move a script file from my desktop where I manage the host and guest(with vSphere), to a directory on the guest server. Any suggestions on ways to do this?

share|improve this question

Typically you'd use the same techniques that you would use if the guest was a physical server. In this case scp via ssh.

share|improve this answer

scp would be the easiest and fastest solution if you are going to be sharing a lot of files regularly you can set up a SMB shared folder or a NFS, FTP server or whatever... But It's hard to think anything simpler than SCP.

I suppose the trick here would be thinking in your virtual server as a physic one that you can't access directly.

You can use a USB memory connect it to your computer and assign this resource to your server but why not SCP? :P

share|improve this answer

I actually recently looked into that and I wrote down (or gave links) how to do this for the various ESXi versions. See:

Basically as mrdenny suggested you just use ssh. It's not always on by default though. And if you copy your ssh key you will have to copy it again after the ESXi server reboots.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.