UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old December 11th, 2003, 06:39 AM
alanmm31 alanmm31 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Ireland
Posts: 2 alanmm31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question remsh

Hi .........

I am trying to get remsh working from a Hpux 11.00 env to solaris 2.8 machine via a custom script.

I can remsh between the servers, it's just when I do a remsh -n....

rcmd: connect: mysolarishost: Connection refused ...

My command

remsh mysolarishost -n 'echo " My Command > /dev/null 2>&1" | at -s now'

Any ideas on where i should be looking ??

Thanks
Alan

Reply With Quote
  #2  
Old December 11th, 2003, 08:12 PM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
I tried your command using the same two OS's and it worked for me.

I think you're throwing a curve ball by mentioning -n. Consider the following 3 commands:

remsh solarishost
remsh solarishost "uname -a"
remsh solarishost -n "uname -a"

Are you really claiming that commands one and two work while command three fails? If so, this beats me.

But command one uses the rlogin service while commands two and three use the rexec service. That would imply that rexec might not be enabled on solarishost. Check your /etc/inetd.conf to be sure that in.rexecd is enabled.

Also could there be a firewall between the boxes? Could it be blocking rexec?

And I guess that I should mention that it may be a good thing that it doesn't work. The berkeley r-commands are very insecure. ssh can do all of these things in a secure manner.

Last edited by Perderabo : December 11th, 2003 at 08:14 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > remsh


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway