Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RSH timeout or something similar?

Status
Not open for further replies.

xhonzi

Programmer
Jul 29, 2003
196
US
I write a lot of shell (Korn) scripts for system monitoring. We have a SAN (storage area network) and we use NIS style password authentication. The user(s) running these scripts requires the SAN for password authentication.

Anyway, all of my scripts use a ping to check if the system is up before it wastes time with an rsh. But there might be a particular box that is powered on and is on the network (viz. the ping is successful) but it is not logged onto the SAN (viz. unsuccessful rsh). I think RSH times out after something like 3 minutes...

I checked the man pages and I see no way to specify a specific time out for rsh. Is there a way to do this? Or can anyone suggest any alternatives?

Xhonzi
 
I know about ssh, but I can't use that since it "isn't used" on this system, and I'm powerless to change that.

Xhonzi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top