Operating System - Tru64 Unix
1754405 Members
3198 Online
108813 Solutions
New Discussion юеВ

rdist over ssh in Tru64

 
Brad Wilke_1
New Member

rdist over ssh in Tru64

Can I get rdist to use ssh in Tru64?

I've just upgraded to 5.1B. I can connect to another 5.1B box using ssh or ssh2, but rdist and rcp won't work. I have my hosts.equiv and hosts files on both hosts configured to trust each other.

The error message I get is "rdist: Check rdist availability/permissions on "

I noticed that some other versions of rdist accept an -P option, but not on the Tru64 version.
4 REPLIES 4
Ralf Puchner
Honored Contributor

Re: rdist over ssh in Tru64

setup rdist to work properly and if it works without a problem configure ssh for it (e.g. be sure hosts.equiv and .rhosts is properly setup).
Help() { FirstReadManual(urgently); Go_to_it;; }
Brad Wilke_1
New Member

Re: rdist over ssh in Tru64


Ok I can get rdist working again after I do the following: (shutdown ssh)

/sbin/init.d/sshd stop

Edit my /etc/inetd.conf and make sure I have the rshd daemon running on the target host. Then restart my inetd child processes with:

inetd -q
inetd -h
===========================================
Now to get rdist working over ssh:

The documentation says I should check my /etc/ssh2d_config and make sure I have the following:
AllowTcpForwarding yes
AllowedAuthentications hostbased,publickey,password
IgnoreRhosts no

and check my /etc/ssh2_config and make sure I have the following:
EnforceSecureRutils no

After doing this and restarting all the ssh2d daemon I find that rcp, rsh and rdist don't work. Ssh2, scp and sftp work fine.

I don't see how the 'r' commands would know to use ssh??? What I am missing?

Brad Wilke_1
New Member

Re: rdist over ssh in Tru64

correction: I meant...
EnforceSecureRutils yes

Also note: my hosts.equiv file is configured properly as the 'r' commands work when ssh is shutdown. I did not have any .rhosts files (in $HOME or /etc) so I created one in /etc.

thanks...
Ralf Puchner
Honored Contributor

Re: rdist over ssh in Tru64

please check:
http://clip.dia.fi.upm.es/~alopez/solaris/sun-managers1/0406.html

which describes the setup in detail.
Help() { FirstReadManual(urgently); Go_to_it;; }