Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

hostIP:- 10.10.10.10

share|improve this question

1 Answer 1

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. –  SvW May 5 '11 at 13:16

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.