[svlug] Can't rcp between machines

Skip Evans skip at bigskypenguin.com
Sat Feb 3 14:13:36 PST 2007


Hey all,

I used both Alan and Daniel's responses to solve 
the problem.

I used scp and dropped the '/*' and all went well.

I rcp got a refused connection and I assume this 
is because rcp uses telnet and scp uses sshd? 
Anyway, all is working and the files are being moved.

Thanks!
Skip

Daniel Gimpelevich wrote:
> On Sat, 03 Feb 2007 14:39:45 -0700, Skip Evans wrote:
> 
>> Hey all,
>>
>> I'm trying to rcp directories (web sites actually) 
>> between two machines with the following command:
>>
>> rcp -r 192.168.0.101:/usr/home/bp/public_html/* .
>>
>> I've seen dozens of examples just like this on 
>> various web pages, and I'm certain that all IP 
>> addresses and directories are correct, pinged 
>> between both machines to make sure the connection 
>> is good, and even ssh'd from the destination 
>> machine to the target server, but I still get:
>>
>> %rcp -r 192.168.0.101:/usr/home/bp/public_html/* .
>> rcp: No match.
>>
>>
>> I know the correct files are in the source 
>> directory, the permissions are correct.
>>
>> Any suggestions would be greatly appreciated.
> 
> Unless you have some obscure special reason to use rcp, the obvious
> suggestion is: Don't. You will likely have an sshd running on at least one
> of the two machines involved, so why bother with trying to figure out what
> you would need for rcp to work when you could just use scp?
> 
> 
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
> 

-- 
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/




More information about the Svlug mailing list