Server Fault is a question and answer site for system and network administrators. 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 use PSCP command line between two server but I have the following problem :

I have a windows box in a domain and how do I write the command line with domain user ?

pscp.exe file.txt DomainUser@hostIP:"d:\folder"

for example :-

user:- hi

domain:- welcome


share|improve this question
up vote 1 down vote accepted

You can't, as least not without an SSH server running on the remote server, which is not standard for Windows.

Edit: Please refer to the CopSSH documentation. By default, domain users are not allowed to login via SSH.

Also, SFTP is not the same as SCP, so this might be an additional issue.

share|improve this answer
I install Copssh on windows server and i active SFTP service – Mohammad AL-Rawabdeh May 4 '11 at 12:25
I edited my answer for easier formatting instead of commenting. Please see the edit. – Sven May 5 '11 at 13:16

Your Answer


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.