summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r--plugins/check_ssh.c42
1 files changed, 19 insertions, 23 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 9de7de38..869b803e 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -1,43 +1,39 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_ssh plugin 3* Nagios check_ssh plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_ssh plugin 12* This file contains the check_ssh plugin
13* 13*
14* 14* Try to connect to an SSH server at specified server and port
15* Try to connect to an SSH server at specified server and port 15*
16* 16*
17* 17* This program is free software: you can redistribute it and/or modify
18* License Information:
19*
20* This program is free software; you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 18* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 19* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 20* (at your option) any later version.
24* 21*
25* This program is distributed in the hope that it will be useful, 22* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 23* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 25* GNU General Public License for more details.
29* 26*
30* You should have received a copy of the GNU General Public License 27* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 28* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29*
33*
34* $Id$ 30* $Id$
35* 31*
36******************************************************************************/ 32*****************************************************************************/
37 33
38const char *progname = "check_ssh"; 34const char *progname = "check_ssh";
39const char *revision = "$Revision$"; 35const char *revision = "$Revision$";
40const char *copyright = "2000-2006"; 36const char *copyright = "2000-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 38
43#include "common.h" 39#include "common.h"