Bug 21781 - RFE: use ssh instead of rsh
Summary: RFE: use ssh instead of rsh
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: mpich (Show other bugs)
(Show other bugs)
Version: 7.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-05 22:34 UTC by Enrico Scholz
Modified: 2008-05-01 15:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Enrico Scholz 2000-12-05 22:34:38 UTC
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 22:50:24 UTC
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 23:00:23 UTC
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 23:18:01 UTC
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 23:38:28 UTC
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 23:48:22 UTC
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.