Subject: rdist and ssh
To: None <>
From: Steve Bellovin <>
List: netbsd-users
Date: 11/23/2002 12:46:10
Is it possible to use rdist over ssh?  I'm trying to keep several 
machines synchronized from one master machine, but I decline to enable 
the rsh port.  The obvious thing to try is

	RCMD_CMD=ssh rdist       

but that seems to deadlock.  On the initiating machine, rdist is 
blocked on netio, and ssh on select.  On the server machine, I see
'rdist -Server' running, but it's blocked on piperd, while sshd is 
blocked on select.

The Distfile is very simple:

HOSTS = (challenger)

FILES = (/bin /usr/bin /sbin /usr/sbin /usr/libexec /usr/lib /etc/rc.d)

${FILES} -> ${HOSTS}

		--Steve Bellovin, (me) ("Firewalls" book)