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'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 stackoverflow.com 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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.