On Thu, 2003-07-31 at 01:09, Voytek Eymont wrote: > do I need sshd on my pc to use scp ..? > > I'm trying to copy some files with scp; > > I have installed ssh CLIENT stuff only on my OS/2 pc. > I did NOT install or configured the sshd stuff > > I can ssh no probs to the linux box, specify user, it just works > > BUT, what do I need to scp...? > > scp says it wants: > > 0[roman][F:\work\linux]scp > usage: scp [-pqrvBC1246] [-F config] [-S program] [-P port] > [-c cipher] [-i identity] [-l limit] [-o option] > [EMAIL PROTECTED]:]file1 [...] [EMAIL PROTECTED]:]file2 > > 1[roman][F:\work\linux\temp]scp koala.sbt.net.au: /etc/httpd/conf/httpd.conf > > RSA key fingerprint is ................. > Are you sure you want to continue connecting (yes/no)? > yes > [EMAIL PROTECTED]'s password: > > 1[roman][F:\work\linux\temp] > > it exist with error level 1, and, nothing copied > > what do I need ...?
To tell scp what to copy. eg.. scp [EMAIL PROTECTED]:/etc/httpd/conf/httpd.conf ~/ to copy /etc/httpd/conf/httpd.conf from lisa to your home folder. scp /etc/httpd/conf/httpd.conf [EMAIL PROTECTED]:/etc/httpd/conf/ to copy /etc/httpd/conf/httpd.conf from the local machine to lisa. scp [EMAIL PROTECTED]:~/stuff/*.doc theotherbox:~/destdir/ Just like cp, except it lets you put in hostnames as source or dest locations. -Karl -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
