Portal Home > Knowledgebase > Articles Database > Understanding scp


Understanding scp




Posted by BostonGuru, 11-22-2007, 12:47 AM
Okay I want to use scp to backup files, however I find most tutorials confusing as to which computer is the remote and the local. Is the local the one you are logged into via ssh command, or the computer from which you logged into ssh. Lets say I am on my Windows computer. I open up putty, and login to the ssh connection of a remote linux computer. What scp command do I enter into the ssh terminal to copy a file from D:\backup of the windows computer to /home/backup of the linux computer? Thanks.

Posted by foobic, 11-22-2007, 01:18 AM
To use scp from your Windows computer to the server you don't open up putty and log in. Instead use pscp (a standalone program included in the putty package) from your Dos command prompt. Not sure about the forward / backslashes but it should be something like:

Posted by BostonGuru, 11-22-2007, 01:51 AM
This is exactly what I was looking for. Thanks!

Posted by nextinspire, 11-22-2007, 01:58 AM
WinSCP is more useful for file management.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Getting IP Whitelisted (Views: 632)