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 need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?

share|improve this question
    
so, IS there a share on the windows machine which can be accessed via name and password? –  akira Jun 30 '10 at 15:03
add comment

1 Answer

up vote 3 down vote accepted

the normal way to achieve this is to

  • mount the windows share via smbmount
  • just copy the files onto the mounted filesystem

you can find a lot on this topic over here

share|improve this answer
add comment

Your Answer

 
discard

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.