Super User is a question and answer site for computer enthusiasts and power users. 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 want to copy 2 files from my Linux VM (running in Hyper V) over to the Windows machine it runs in. What is the quickest and simplest way to do this? A lot of pages online use winScp but offer no explanation of how to connect to Linux (after a brief look).

Any help is appreciated. :)

share|improve this question

migrated from Aug 12 '10 at 14:08

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

scp is fully supported on Linux so you can use that. You would probably do better to ask on serverfault for how to use scp – Steve Weet Aug 12 '10 at 14:03

Use a flash drive if you have one.

share|improve this answer
This is by far simplest option @RossAlexander – Sandro Dzneladze Jul 27 '12 at 17:01

1) mounting a shared drive thru samba

2) install a windows SSH client/server to use scp

Other solutions are available, but become too complicated. A shared drive would be the best solution, as you can easily use it later on.

By the way, you can use PCSP to achieve the second solution :

share|improve this answer

You can copy any files with scp(linux) oder pscp(windows) from any other host with a running ssh-server
scp/pscp -P [port] [username]@[host]:/[pathtofile]/[file] [localfilename]

share|improve this answer

winscp should be fairly self explainatory ?

  • download it
  • install it
  • start it
  • Make a new connection
  • enter the IP address of your linux box, and the username/password of a user you have on your linux.
  • drag/drop files

All this assumes you have set up linux so it has an IP address, and a user/password(many distros lets you log in on the root account by default too.. and afaik all distros starts the ssh service by default - needed for connecting with scp) you can log in as.

share|improve this answer

You can use SCP only if:

  1. You have enabled some sort of networking for your VM
  2. You're running sshd (secure shell daemon) on the VM

Assuming you have these two things, you would use WinSCP something like the following (sorry I've only used pscp, which is about identical to scp):

winscp root@linuxip:/path/to/file localfile

where linuxip = the IP address of your VM.

If this is something you have to do often, I would recommend trying to mount a shared drive between the VM and the host.

share|improve this answer

Your Answer


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