tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] ssh replacing rsh on 4.0D
@ 1998-06-23 16:38 Graham Allan
  0 siblings, 0 replies; only message in thread
From: Graham Allan @ 1998-06-23 16:38 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks for all the helpful responses from:

  Doug Johnson <drjohn@pizero.Colorado.EDU>
  Anthony Talltree <aad@nwnet.net>
  System Prestidigitator <BOLSON@frango.hs.washington.edu>
  Mike Iglesias <iglesias@draco.acs.uci.edu>
  Skeate, Scott B <scott.b.skeate@lmco.com>
  Nathan Grass <NathanG@UTS.Itron.com>

Consensus seems to be to not move the system-supplied rsh and rlogin
binaries, and instead put ssh before them on the search path (eg, in
/etc/csh.cshrc). This does fix the problem. Or, if I don't want to alter
the path, another solution might be to define command aliases in
csh.cshrc so that a user typing "rsh" gets ssh instead.

Graham


--- original message ---

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-23 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-23 16:38 [SUMMARY] ssh replacing rsh on 4.0D Graham Allan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox