The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIX command for Getting IP addresss of different hosts in WLAN vasurake Linux 2 03-05-2008 09:47 PM
Clustered Databases Versus Virtualization for CEP Applications iBot Complex Event Processing RSS News 0 11-19-2007 11:50 AM
Hosts.allow and hosts.deny huddlestonsnk UNIX for Dummies Questions & Answers 1 10-18-2006 08:34 AM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 06:25 PM
Netstat DPAI IP Networking 6 10-02-2001 07:11 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-27-2005
Registered User
 

Join Date: Oct 2005
Posts: 5
netstat command between clustered hosts

I have 2 clustered hosts, is it possible for me to issue a netstat command against 1 host from the other ?
Reply With Quote
Forum Sponsor
  #2  
Old 10-27-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
i think that's possible, on a hpux box i did it with
Code:
remsh node2 "netstat -a" | more
Reply With Quote
  #3  
Old 10-27-2005
Registered User
 

Join Date: Oct 2005
Posts: 5
Thanks, but I'm not allowed to use rsh (I've just found this out) I think that ssh is the way to go. I'm currently trying to script an ssh logon, but I'm falling foul of the password, is there a way to write a shell script so that it passes ssh my password at the appropriate time ?
Reply With Quote
  #4  
Old 10-27-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,326
Why don't you setup key-based authentication between the hosts? Just look up the man pages - its quite easy.
Reply With Quote
  #5  
Old 10-28-2005
Registered User
 

Join Date: Oct 2005
Posts: 5
I have set up rsa authentication, works a treat, thanks guys.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:15 PM.


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

Content Relevant URLs by vBSEO 3.2.0