Checking Server Status
- From: keith.phipps@xxxxxxxxx
- Date: 22 Sep 2006 10:42:00 -0700
I'm looking for a way from my local machine (FC5) via bash to remotely
go out and probe ssh services. We've got internal IP's and External
IP's for each box and I need to be able to test them both, so I'm going
to assume (since I've never scripted a day in my life) from what I've
read that I'd need to do a while loop? I've got to hit a specific port
and if it doesn't time out or gives me "login as:" then it can close
and move on to the next instance.
Any ideas would be greatly appreciated.
typing out ssh -P xxxxx -i /usr/localkeys/some_key.id -l admin
etc..etc.. for each of these servers is beginning to be a huge pain.
-Keith
.
- Follow-Ups:
- Re: Checking Server Status
- From: Walter Mautner
- Re: Checking Server Status
- Prev by Date: Re: newbie question on networking
- Next by Date: Re: Live Linux SU Passwords
- Previous by thread: startup problem: chown: readonly file system...
- Next by thread: Re: Checking Server Status
- Index(es):
Relevant Pages
|