Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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've got OpenSSH working on a windows machine and have been able to successfully connect from Linux to Windows and vice-versa.

I need to know how Linux paths are linked to windows while using scp.

For Example

  1. scp sampleFile arpit@windows_host:/tmp -> sends the file to C:\Windows\TEMP
    (found out that in TMP environment variable is set to C:\WINDOWS\TEMP)

  2. scp to /opt -> sends the file to c:\Program Files\Git\opt

  3. scp to /home/arpit/ -> sends the file to c:\Documents and Settings\arpit\

Any idea how these UNIX paths are linked to Windows?

share|improve this question

migrated from Jun 19 '13 at 14:24

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

Try asking your question on superuser, or a linux q&a site.. – Miky Dinescu Jun 19 '13 at 12:33
See how Cygwin maps path names. – salva Jun 19 '13 at 12:43
Actually, I am not using Cygwin. This is an stand alone OpenSSH installation. – Arpit Jun 20 '13 at 4:18

You must log in to answer this question.

Browse other questions tagged .