LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 06:41 PM   #1
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
annoying messages from passwordless rsh


This is my passwordless SSH connection:


Connection to localhost closed.
[kc40@slave ~]$ ssh localhost date
Wed Aug 3 00:36:08 BST 2005
[kc40@slave ~]$ ssh localhost
Last login: Wed Aug 3 00:35:52 2005 from slave
[kc40@slave ~]$


It's good!
However, this is my passwordless RSH connection:


[kc40@slave ~]$ rsh localhost date
connect to address 127.0.0.1: Connection refused
Trying krb4 rsh...
connect to address 127.0.0.1: Connection refused
trying normal rsh (/usr/bin/rsh)
Wed Aug 3 00:36:29 BST 2005
[kc40@slave ~]$ rsh localhost
connect to address 127.0.0.1: Connection refused
Trying krb4 rlogin...
connect to address 127.0.0.1: Connection refused
trying normal rlogin (/usr/bin/rlogin)
Last login: Wed Aug 3 00:36:13 from slave
[kc40@slave ~]$


Does anyone know how to make rsh stop doing whatever it's doing that it's getting connection refused twice? I have edited the /etc/xinetd.d/rsh and /etc/xinetd.d/rlogin files, setting 'disable' to 'no'. Help most appreciated!
 
Old 08-02-2005, 08:05 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Are you working in a Kerberos environment? It seems to be trying kerberos-ized versions of the rsh and rlogin programs before moving on to the normal versions.
 
Old 08-02-2005, 09:16 PM   #3
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Well, it's normal Fedora Core 3. Probably Kerberos environment. How to switch off?
 
Old 08-03-2005, 05:36 AM   #4
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
I just like to tell everybody that at last I found out why my rsh was using
Kerbos5 resulting in annoying messages (when am trying to get a clean passwordless rsh). As I analysed from the list:

Connection refused
Trying krb4
Connection refused
Trying normal

The first being a kerberos 5, then a version 4 try before finally a normal
being successful. I thought there must be more than one version of rsh installed. So I typed 'locate rsh'. I try the first on the list. I typed '/usr/bin/rsh localhost' and that worked fine. Then typed 'which rsh'. To my surprise it says '/usr/kerberos/bin/rsh'. I then
looked at my $PATH and see that that's the first folder that's being pathed. So I removed it. Problem solved.
 
Old 08-03-2005, 09:44 AM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Interesting. Glad you shared your solution. On both threads.
 
Old 08-10-2005, 05:00 PM   #6
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
yeah, kinda weird
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoying CD-rom driver error messages dinges Linux - Software 11 02-05-2006 03:54 PM
Annoying eth0-console messages.. Laffo Debian 1 08-18-2005 08:29 AM
annoying messages from rsh kevingpo Linux - Networking 2 08-03-2005 05:37 AM
annyoing messages from rsh kevingpo Linux - Software 1 08-02-2005 06:50 PM
Post KDE 3.4.1 compile annoying kate messages GATTACA Slackware 3 07-20-2005 10:20 AM


All times are GMT -5. The time now is 12:09 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 Google+: linuxquestions
Open Source Consulting | Domain Registration