Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!mcsun!hp4nl!charon!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.unix.questions Subject: Re: rsh command Message-ID: <2944@charon.cwi.nl> Date: 15 Feb 91 00:13:36 GMT References: <26006@adm.brl.mil> <6264@idunno.Princeton.EDU> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 21 In article <6264@idunno.Princeton.EDU> subbarao@phoenix.Princeton.EDU (Kartik Subbarao) writes: > Sometimes you need FQDNs. Try putting: > localhostname.localhostdomainname localloginname > into your .rhosts and retry. > > Also - is the remote host in your hosts table (can it be found?) Yes, sometimes you need the numeric representation. A good way to find out what you must put in your .rhosts file is to do a rlogin to the system and look where the system thinks you are logged in from (if your system has last that will give you the answer). Note that on many systems presence in or absence from an host file or a yp hosts database does not imply that the system is able/unable to determine what name corresponds to the IP number. (From one of my .rhosts files: paring.cwi.nl dik 192.16.184.253 dik these are synonyms. They are both needed because at some times the service that translates IP numbers to hostnames is not available.) -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl