I would like copy a backup file from image vmware linux to windows but i don't know how to process it ?

i tried :

scp /source/backup.tar.gz admin@x.x.x.x:/c:\ProgrammefilesC:\Documentsand Settings\Admin\MyDocuments

but error and i know that it's not like that, so if you have solutions ?

please,

link|improve this question
2  
You need a SSH server on the Windows box for this to work. The most easy way would probably be to do the reverse: Install (start/unblock port) the SSH server on the Linux machine and transfer the file with a Windows client like Putty. – Eike Aug 18 '10 at 17:04
This would be a great question for superuser. – karlphillip Aug 18 '10 at 17:08
feedback

migrated from stackoverflow.com Aug 18 '10 at 19:51

This question came from our site for professional and enthusiast programmers.

2 Answers

Why not just add MyDocuments as a shared folder with your VM? That would simplify things a lot.

Regardless, you need something like WinSCP on your Windows box or else there's nothing to really ssh to.

link|improve this answer
Yes think you, if i want that it be include in my script who will be execute automatically ??? Because i have my script ".sh" who make a backup and compress this backup and at the end of my script i would to copy this compress file to a windows folder. I think with the scp command. – user46745 Aug 19 '10 at 11:22
feedback

Yes think you, if i want that it be include in my script who will be execute automatically ???

Because i have my script ".sh" who make a backup and compress this backup and at the end of my script i would to copy this compress file to a windows folder.

I think with the scp command.

link|improve this answer
scp needs to talk to an ssh server on the remote end. – Douglas Leeder Aug 19 '10 at 10:28
feedback

Your Answer

 
or
required, but never shown

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