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

link|improve this question

feedback

1 Answer

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.

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

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.