Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to transfer files from my Host OS (Windows 7) to Guest OS (CentOS) running on VirtualBox.

I tried using pscp but it gives the error: More than one remote source not supported

I tried ftp but it doesn't connect and I don't know why.

share|improve this question
add comment

migrated from stackoverflow.com Aug 16 '12 at 22:25

This question came from our site for professional and enthusiast programmers.

3 Answers

You can install Guest Additions: http://www.virtualbox.org/manual/ch04.html

and then use Shared Folders: https://forums.virtualbox.org/viewtopic.php?t=15868

share|improve this answer
It's also possible to mount a vdi from the host (and access the guest operating system's files): superuser.com/questions/34913/mount-virtualbox-vdi-disk –  Anderson Green Nov 8 '12 at 3:35
add comment

You can do it with "scp" command, then the ssh daemon (sshd) has to be running on the Windows box as well.

Or use one of the windows scp clients to talk to the centos VM. You can transfer files either way using scp.

share|improve this answer
how do you identify the IP and credentials of the guest machine for the scp command? –  ted.strauss Jan 7 at 19:25
add comment

You can use Samba for transferring files. Just install Samba, and then choose the Host OS and then the OS where the files are to be transferred.

share|improve this answer
add comment

Your Answer


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