X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fagentlessd%2Fscripts%2Fssh_pixconfig_diff;h=57b8c9ee552794ab9659e425c546e2c151d435bc;hb=280230a44cb9f9872652b6bb80de45a27af411f4;hp=9968432f14148833a9ae8aa5bdb6928121c02a2d;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/agentlessd/scripts/ssh_pixconfig_diff b/src/agentlessd/scripts/ssh_pixconfig_diff index 9968432..57b8c9e 100755 --- a/src/agentlessd/scripts/ssh_pixconfig_diff +++ b/src/agentlessd/scripts/ssh_pixconfig_diff @@ -1,6 +1,7 @@ #!/usr/bin/env expect -# @(#) $Id: ssh_pixconfig_diff,v 1.6 2009/06/24 17:06:21 dcid Exp $ +# @(#) $Id: ./src/agentlessd/scripts/ssh_pixconfig_diff, 2011/09/08 dcid Exp $ + # Agentless monitoring # # Copyright (C) 2009 Trend Micro Inc. @@ -8,7 +9,7 @@ # # 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. @@ -128,7 +129,7 @@ expect { send_user "ERROR: Unable to connect to remote host: $hostname .\n" exit 1; } - "* password:*" { + "*Password:*" { send "$pass\r" expect {