misc/88301: unable to rsh to 5.4-STABLE system (10/14/05) with args
matt at photon.com
Mon Oct 31 14:20:18 PST 2005
>Synopsis: unable to rsh to 5.4-STABLE system (10/14/05) with args
>Arrival-Date: Mon Oct 31 22:20:16 GMT 2005
>Originator: matt wilbur
FreeBSD wdc-mx.photon.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Oct 14 11:01:11 EDT 2005 jamie at wdc-mx.photon.com:/usr/obj/usr/src/sys/GENERIC i386
Unable to rsh to host when proving a cmd to execute. rsh <5.4-stable host> works fine, gives a shell. rsh <5.4-stable host> ls gives this error:
matt at photon ~ > rsh wdc-mx ls
select: protocol failure in circuit setup.
rsh: connection failed
When I roll back to a 5.4-RELEASE rshd (which incidentally is not linked with libpam) it works fine.
In both cases tcpdump shows the exact same exchange (given the exact same cmd given)..
enable rshd in inetd.conf, verify /etc/pam.d/rsh is configured correctly, configure /etc/hosts.equiv or ~/.rhosts to allow rsh without password. rsh to "problem" system with a cmd to execute on distant end (eg rsh host ls).
roll back to 5.4-RELEASE rshd, works fine.
More information about the freebsd-bugs