Bug 21781 - RFE: use ssh instead of rsh
RFE: use ssh instead of rsh
Status: CLOSED WONTFIX
Product: Red Hat Powertools
Classification: Retired
Component: mpich (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-12-05 17:34 EST by Enrico Scholz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-12-05 18:18:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2000-12-05 17:34:38 EST
since rh7 is using openssh now, rsh becomes obsoleted in most environments.
But without rsh the p4 device of mpich (default at linux) won't work
anymore.

So I suggest to ./configure with '-rsh=ssh'.
Comment 1 Enrico Scholz 2000-12-05 17:50:24 EST
The /usr/lib/mpich/{s,}bin dirs contain a lot of scripts having `rsh' hardly
coded inside. These must be fixed manually.
Comment 2 Trond Eivind Glomsrxd 2000-12-05 18:00:23 EST
I don't think this is a good idea... it adds connection overhead in what usually
is a strictly controlled environment.
Comment 3 Enrico Scholz 2000-12-05 18:18:01 EST
The additional overhead occurs only when the `master' starts its slaves on the
other machines. The plain MPI-communications isn't affected by ssh; ssh serves
only to start the slaves.

This overhead is very low related to the time MPI programs are running usually,
so I think it can be neglected.

Additionally I don't know any system in my environment using rsh (rsh-server
isn't installed even).
Comment 4 Trond Eivind Glomsrxd 2000-12-05 18:38:28 EST
I think opting for least surprises is good... being able to choose your program
would be good.

Also, in many environments ssh won't be suitable as keys should have passphrases
Comment 5 Enrico Scholz 2000-12-05 18:48:22 EST
Yes, choosing the program would be good. But mpich seems to compile the name
statically into the 
libraries. mpich-1.2.1 is out but I had no time to check if it contains the
possibility to choose the remote-shell dynamically.

Passphrases aren't a problem with ssh. You can start ssh-agent which holds your
identity and transfers it cryptographical safe to the sshd. Although this method
is commonly used, install.ps.gz of the mpich package contains in chapter 4.6 a
short description also.

Note You need to log in before you can comment on or make changes to this bug.