X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fagentlessd%2Fscripts%2Fssh_integrity_check_bsd;h=658d1a5a06647f5bafbfc033e72fe6787f63fbbe;hb=HEAD;hp=cbda2555b1d524e12818fb0219b95e5532074836;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/agentlessd/scripts/ssh_integrity_check_bsd b/src/agentlessd/scripts/ssh_integrity_check_bsd index cbda255..658d1a5 100755 --- a/src/agentlessd/scripts/ssh_integrity_check_bsd +++ b/src/agentlessd/scripts/ssh_integrity_check_bsd @@ -1,22 +1,19 @@ #!/usr/bin/env expect -# @(#) $Id: ssh_integrity_check_bsd,v 1.10 2009/06/24 17:06:21 dcid Exp $ # 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 3) as published by the FSF - Free Software +# License (version 2) as published by the FSF - Free Software # Foundation. - -# Main script. +# Main script source "agentless/main.exp" - -# SSHing to the box and passing the directories to check. +# SSH to the box and pass the directories to check if [catch { spawn ssh $hostname } loc_error] { @@ -24,7 +21,6 @@ if [catch { exit 1; } - source $sshsrc source $susrc