rsh crazyness

Sean Roe sean at azbiz.net
Wed Sep 21 16:31:09 MST 2005


I am running the following command to execute this from the client:

rsync --verbose --verbose --progress  --compress --rsh=/usr/bin/rsh  
--stats root at fargo:/backup/20050921/* /data/backup/today/

I finally got it working by adding the -h flag to the line 
shell   stream  tcp     nowait  root    /usr/sbin/tcpd  in.rshd -Lh

in inetd.conf

Is there a faster way then this to copy the files over?

Thanks,
Sean


On Wed, 21 Sep 2005, Tony Wasson wrote:

> On 9/21/05, Sean Roe <sean at azbiz.net> wrote:
> > Hi All,
> >
> > I am loosing my mind over this one.  I have two linux boxes 1) Slackware
> >  10.0 server and a Debian 3.1 client.  I am trying to rsync a directory on
> > the Slack box from the Deb box and I keep getting permission denied.  I
> > can rsh (I know all about ssh but it is way to slow for this application
> > and its on a secure network) to the box and I get logged on.  But when I
> > try to run a remote command like "rsh slackware1 date"  I get permissioned
> > denied.  Can somebody please help me as I am not a Slackware user.
> 
> Since you aren't concerned with security and want more speed, why not
> run a rsync as a server? With ssh and rsh, you are using a remote
> shell program as the transport. If you insist on using rsh, double
> check your server logs.
> 
> from the man page for rsync:
> "It is also possible to use rsync without a remote shell as the
> transport. In this case you will connect to a  remote rsync server
> running on TCP port 873".
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> 



More information about the PLUG-discuss mailing list