[PHP] (0t) SSH cp (copy help)

2003-12-11 Thread Ryan A
Hi,
I'm on a win2k pro machine and need to copy a modified httpd.conf file to my
linux box,
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

I am using PUTTY to connect.

This is what I have tried:

the file is located in my
c:\
I tried using
cp c:\filename

and also
cp c:filename /remote/path/

and also
cp c:filename /remote/path/samefilename

and also
cp filename /remote/path/

etc

without any luck.

how do i copy it?

Thanks,
-Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] (0t) SSH cp (copy help)

2003-12-11 Thread Pablo Gosse
snip
Hi,
I'm on a win2k pro machine and need to copy a modified httpd.conf file
to my
linux box,
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
/snip

Hey Ryan.  I'd suggest going to
http://www.ssh.com/support/downloads/secureshellwks/ and downloading
either the commercial evaluation version or non-commercial version.  It
has the standard SSH terminal, but it also features an SSH File Transfer
client which will allow you to do what you want.

Cheers,
Pablo 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] (0t) SSH cp (copy help)

2003-12-11 Thread Glenn E. Sieb
Or go up to http://winscp.vse.cz/ 

Great little program :)

G.
-- 
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax) 

 -Original Message-
 From: Pablo Gosse [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 11, 2003 10:50 AM
 To: Ryan A; [EMAIL PROTECTED]
 Subject: RE: [PHP] (0t) SSH cp (copy help)
 
 
 snip
 Hi,
 I'm on a win2k pro machine and need to copy a modified 
 httpd.conf file to my linux box, 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 /snip
 
 Hey Ryan.  I'd suggest going to 
 http://www.ssh.com/support/downloads/secureshe llwks/ and 
 downloading either the commercial evaluation 
 version or non-commercial version.  It has the standard SSH 
 terminal, but it also features an SSH File Transfer client 
 which will allow you to do what you want.
 
 Cheers,
 Pablo 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] (0t) SSH cp (copy help)

2003-12-11 Thread David T-G
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 [EMAIL PROTECTED]:/path/to/filename

and then enter the password for user.


HTH  HAND

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, Science and Health
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



pgp0.pgp
Description: PGP signature


Re: [PHP] (0t) SSH cp (copy help)

2003-12-11 Thread Evan Nemerson
On Thursday 11 December 2003 10:49 am, Pablo Gosse wrote:
 snip
 Hi,
 I'm on a win2k pro machine and need to copy a modified httpd.conf file
 to my
 linux box,
 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
 /snip

 Hey Ryan.  I'd suggest going to
 http://www.ssh.com/support/downloads/secureshellwks/ and downloading
 either the commercial evaluation version or non-commercial version.  It
 has the standard SSH terminal, but it also features an SSH File Transfer
 client which will allow you to do what you want.

openssh also included an sftp client. IIRC, there is a pretty good win32 port 
out there. And it's free


 Cheers,
 Pablo

-- 
Evan Nemerson
[EMAIL PROTECTED]
http://coeusgroup.com/en

--
The superior man is satisfied and composed; the mean man is always full of 
distress.

-Confucious

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php