[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] is there a way to monitor a SSH service running on non-default port 22?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] is there a way to monitor a SSH service running on non-default port 22?
- From: Dominique Frise <Dominique.Frise (at) unil.ch>
- Date: Sat, 22 Sep 2007 11:20:59 +0200
- Organization: University of Lausanne
- References: <280439.54152.qm (at) web58714.mail.re1.yahoo.com>
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.6) Gecko/20070809 SeaMonkey/1.1.4
Andrew Chou wrote:
I'd like to monitor a SSH server running on a port other than the default SSH port. Is there a way to do that?
Thanks!
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
Extract of bb-hosts(5) man page:
...
SIMPLE NETWORK TESTS
These tests perform a simple network test of a service by
connecting to the port and possibly checking that a banner
is shown by the server.
How these tests operate are configured in the bb-services(5)
configuration file, which controls which port to use for the
Hobbit MonitoLast change: Version 4.2.0: 9 Aug 2006 15
Standards, Environments, and Macros BB-HOSTS(5)
service, whether to send any data to the service, whether to
check for a response from the service etc.
You can modify the behaviour of these tests on a per-test
basis by adding one or more modifiers to the test: :NUMBER
changes the port number from the default to the one you
specify for this test. E.g. to test ssh running on port
8022, specify the test as ssh:8022.
...
Alternatively, and assuming you SSH server is running as a daemon, you can also
check it locally (on the client) using PROC or PORT directive in
hobbit-clients.cfg. see hobbit-clients.cfg(5) man page for examples.
Dominique
UNIL - University of Lausanne