ssh replacing rsh on 4.0D

From: Graham Allan <ALLAN_at_mnhep1.hep.umn.edu>
Date: Mon, 22 Jun 1998 19:01:35 -0500

I'm wondering if anyone has had any success using ssh to replace rsh and
rlogin services, on Digital UNIX 4.0D.

To fill in the background, this works by moving the system-supplied rsh
and rlogin programs to a new location (such as /usr/local/sbin, for
example).
ssh then installs links for rsh and rlogin which point to itself, so
that users invoking rsh/rlogin actually get ssh. If the remote system
doesn't support ssh, then the original rsh/rlogin binaries get run.

This works just fine for the rlogin command.

Unfortunately, rsh seems to call rlogin itself - trying to run it from
its original location ion /usr/bin. So it fails with a message like:

>rsh hostname
Secure connection to (hostname) refused; reverting to insecure method.
Using rsh. WARNING: Connection will not be encrypted.
/usr/local/sbin/rsh hostname -l username
rsh: can't exec /usr/bin/rlogin.

                ^^^^^^^^^^^^^^^ naturally, since it's been moved.

Is there any simple way to defeat this?
Or a different way to set up ssh to achieve to same result?

Graham
Received on Tue Jun 23 1998 - 02:02:34 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT