how to copy a file from linux to windows with scp command?
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 [email protected]:/c:\ProgrammefilesC:\Documentsand Settings\Admin\MyDocuments
but error and I know that it's not like that, so if you have solutions?
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.
No! You can't use "scp" command to copy date remotely from Linux box to Windows box. You need to install "WinScp" utility on windows machine and then transfer the data from Linux box to windows box.
You can download WinScp from : https://winscp.net/eng/download.php