LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-15-2003, 04:34 PM   #1
slice4e
Member
 
Registered: Apr 2003
Location: Daytona Beach
Posts: 30

Rep: Reputation: 15
please help with rsh


I have to be able to use rsh, beause I am setting up a Linux cluster and the cluster software needs rsh (this is why I am not using ssh)

I have 2 computers : cserver , node01 . On both I have created the ~\.rhosts and the \etc\hosts.equiv files.
However it just seems not to work. If I do this from cserver:

[username@cserver username]$ rsh node01 pwd
node01: Connection refused - is the error I get

If I do the same command from node01:

[username@node01 username]$ rsh cserver pwd
poll: protocol failure in circuit setup - is the error I get

I have just installed RH 9 on both computers and as far as I know they are setup completely the same. I know that they are connected in the network because I am able to ping from one to the other . I just dont know why my rsh does not work.

Please give me an advise
Thank you for your time and help

Martin
 
Old 05-15-2003, 05:32 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
rsh is a xinetd service. did you change the configuration files on the machine? they are disabled by default
 
Old 05-15-2003, 06:46 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,623
Blog Entries: 10

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
check
/etc/services

and depending on your distro,
/etc/inted.conf
or
/etc/xinted.d/<rsh>or<rlogin>? ;)


But really, you should rather be using
ssh anyway.

Cheers,
Tink
 
Old 05-15-2003, 06:52 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,153

Rep: Reputation: 56
is it redhat?

if so use this

chkconfig rsh on

and you should definately use ssh instead
 
Old 05-17-2003, 12:06 AM   #5
slice4e
Member
 
Registered: Apr 2003
Location: Daytona Beach
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks guys. I could not make rsh work, but I followed your advise to switching to ssh. I turns out that the software I am using (LAM) can also be configured to use ssh. Thanks
 
Old 08-19-2003, 12:49 PM   #6
omlex
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
you may try to runt these commands

chkconfig rlogin on
chkconfig xinetd on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 09:34 AM
rsh drisay Slackware 2 11-11-2004 01:24 PM
rsh ziox Linux - Networking 1 10-27-2004 06:11 PM
rsh rightsidedown Linux - Newbie 3 07-16-2004 03:08 PM
how to use rsh?? nqduy Linux - Networking 2 08-21-2003 02:00 AM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration