X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=debian%2Fossec-hids%2Fvar%2Fossec%2Fagentless%2Fsshlogin.exp;fp=debian%2Fossec-hids%2Fvar%2Fossec%2Fagentless%2Fsshlogin.exp;h=0000000000000000000000000000000000000000;hp=4d4121c41209c57203fac29573b602a82b9d7961;hb=946517cefb8751a43a89bda4220221f065f4e5d1;hpb=3f728675941dc69d4e544d3a880a56240a6e394a diff --git a/debian/ossec-hids/var/ossec/agentless/sshlogin.exp b/debian/ossec-hids/var/ossec/agentless/sshlogin.exp deleted file mode 100755 index 4d4121c..0000000 --- a/debian/ossec-hids/var/ossec/agentless/sshlogin.exp +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env expect - -# Agentless monitoring -# -# Copyright (C) 2009 Trend Micro Inc. -# All rights reserved. -# -# This program is a free software; you can redistribute it -# and/or modify it under the terms of the GNU General Public -# License (version 2) as published by the FSF - Free Software -# Foundation. - -expect { - "Permission denied" { - send_user "\nERROR: Incorrect password to remote host: $hostname .\n" - exit 1; - } - eof { - send_user "\nERROR: EOF while logging to host: $hostname .\n" - exit 0; - } - timeout { - send_user "\nERROR: Timeout while running on host: $hostname .\n" - exit 1; - } - "*\\\$" { - send_user "\nINFO: Started.\n" - } - "*#" { - send_user "\nINFO: Started.\n" - } -}