Re: (0t) SSH cp (copy help)
| From: | David T-G | Date: | Thu, 11 Dec 2003 16:10:30 +0000 |
| Subject: | Re: (0t) SSH cp (copy help) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172486@lists.php.net to get a copy of this message | ||
Ryan --
Let's see, here... You're planning to write an scp replacement in php
and so this is on topic, right? ;-)
..and then Ryan A said...
%
% Hi,
% I'm on a win2k pro machine and need to copy a modified httpd.conf file to my
% linux box,
Step 1: reformat your w2k box and run linux. All problems solved :-)
% I dont really know much about SSH and just learned a bit with my pals help
% (google)
%
% I am able to navigate around the directories, get a directory listing and
% delete...am unable to copy files from my harddisk for some reason....
ssh (here putty.exe) is for doing things on the remote system; it's a
secure telnet program.
scp (here pscp.exe) is for copying things back and forth; it (and sftp,
available sometimes and perhaps here as psftp.exe) is a secure ftp program.
%
..
% and also
% cp filename /remote/path/
Try
c:
cd \path\to\filename
pscp filename user@host:/path/to/filename
and then enter the password for "user".
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!