LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 30
annoying messages from 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, 06:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

The original post is
http://www.linuxquestions.org/quest...threadid=349384

This one has been reported for closure.
 
Old 08-03-2005, 05:37 AM   #3
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.
 
  


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 passwordless rsh kevingpo Fedora 5 08-10-2005 05:00 PM
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 06:32 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