The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change ip via remsh kenshinhimura HP-UX 7 04-12-2008 06:03 AM
remsh problem sabyasm UNIX for Advanced & Expert Users 2 12-06-2005 03:21 PM
remsh kazanoova2 UNIX for Dummies Questions & Answers 3 12-21-2004 06:39 AM
remsh question aaareyes UNIX for Dummies Questions & Answers 2 06-04-2003 12:10 PM
remsh and nohup tavaresd UNIX for Dummies Questions & Answers 2 09-10-2002 06:28 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-15-2007
Registered User
 

Join Date: May 2007
Posts: 111
Question remsh working one way

host Solaris 5.9 E250 host-name: sunsrv1
remote Solaris 5.8 Netra 250 host_name: sspfs_svr
i am able to remsh (or rsh)from remote to host
like ;
Code:
$ remsh sunsrv1 uname -n
sunsrv1
but opposite way not possible;

Code:
# remsh sspfs_svr ls
sspfs_svr: Connection refused
OR

Code:
# rsh -l 
HTML Code:
username
-n sspfs_svr ls sspfs_svr: Connection refused
OR this way: direct from root itself

Code:
# rsh -l cpacaci sspfs_svr ls
sspfs_svr: Connection refused

I configured the following files ;

.rhosts
/etc/passwd (identical users; both in host and remote)
/etc/hosts


any advice ? Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-16-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,323
"Connection refused" means that inetd isn't listening for remsh. Check /etc/inetd.conf and make sure that the remsh/rsh line isn't hashed out (marked with a # at the start of the line). On Solaris 10, use inetadm to check the same thing (can't tell you exactly which options and such, though).
Reply With Quote
  #3 (permalink)  
Old 10-16-2007
Registered User
 

Join Date: May 2007
Posts: 111
Question remsh

following problematic Netra 240 server cannot access remotely, even though ping telnet etc. is working. Here is the inetd.conf status;

Code:
# cat /etc/inetd.conf |grep rsh
 shell  stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd
 shell  stream  tcp6    nowait  root    /usr/sbin/in.rshd       in.rshd
# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240
#
seems to be working ? but still no remsh or rsh or rlogin possible what other reason can effect this situation ?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0