scp copying from Linux to windows
The syntax of scp is approximately scp first_pathname second_pathname, with each pathname including a hostname and path and filename.
How do you copy from a Linux machine to a Windows box? I am running scp in a secure shell that has opened up a BASH shell. I know one thing, that if you have c:\temp\file in Windows, you do c/temp/file in the scp command, but as for hostname I am stumped. I have read MAN and googled to no avail. Help! Thanks |
If you wanted to scp a file to a machine with an ip of 1.1.1.1 you would do:
scp file_you_wanted_to_send 1.1.1.1:foldername/foldername/ As far as scp'ing a file from a linux box to a windows box, this will require you to have a ssh server running on the windows box. An alternative would be to use winscp (on the windowsbox) to grab the files from the linux box. |
Thanks! I was using putty and it comes with some other programs including pscp, which I suppose is the Windows ssh server. That explains it!
|
All times are GMT -5. The time now is 04:39 PM. |