Click to See Complete Forum and Search --> : scp download from server?


mr.popper
02-23-2005, 09:50 PM
Is it possible to transfer files from an ssh server down to the local computer via scp? If so, what is the syntax? If not, how can I download files from an ssh server?

Thanks,

mr.popper

madcompnerd
02-23-2005, 10:36 PM
scp user@host:location_on_remote location_on_local

mr.popper
02-24-2005, 12:39 AM
am trying to use putty, and trying to scp a file down from an ssh server on Mandrake.

I typed:

scp user@remote:/home/fred/file.o "C:\"

I get these errors:

Could not create directory '/var/www/html/.ssh'.
Failed to add the host to the list of known hosts (/var/www/html/.ssh/known_hosts).

user@server's password:(I typed my password here)

ssh: C: Name or service not known
lost connection


scp work when I was on Fedora Core 3, but I can't get it to work on Windows PuTTy. Is my syntax wrong?

madcompnerd
02-24-2005, 01:30 AM
Download pscp, and put it in \Windows\System32\scp

Then open cmd, and scp ....

ph34r
02-24-2005, 09:35 AM
Or use winscp (winscp.sf.net) - gives a nice win32 gui to scp

serz
02-24-2005, 11:51 AM
WinSCP rocks!!

:cool:

psych-major
02-24-2005, 01:07 PM
Ditto on Winscp. You'll love it!