From 4f8ef06aef19ee95b333143e5584552666784782 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 7 Oct 2005 16:07:07 +0000 Subject: [PATCH] updated debug documentation --- lam/docs/README.lamdaemon.txt | 5 ++--- lam/lib/lamdaemon.pl | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lam/docs/README.lamdaemon.txt b/lam/docs/README.lamdaemon.txt index afec3bfa..3dadc355 100644 --- a/lam/docs/README.lamdaemon.txt +++ b/lam/docs/README.lamdaemon.txt @@ -96,12 +96,11 @@ failed then you will find a description about the reason here. - Enable debug output in lamdaemon - In line 230 of lamdaemon.pl change the SSH options like this: + In line 235 of lamdaemon.pl change the SSH options like this: my $ssh = Net::SSH::Perl->new($hostname, options=>[ "UserKnownHostsFile /dev/null"], - protocol => "2,1", - debug => "true" ); + protocol => "2,1", debug => 1 ); This will produce a lot of output when you do the lamdaemon test. Check that there is a line like this: diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index a2c79b32..55f95de2 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -232,7 +232,7 @@ else { } my $ssh = Net::SSH::Perl->new($hostname, options=>[ "UserKnownHostsFile /dev/null"], - protocol => "2,1" ); + protocol => "2,1", debug => 0 ); $ssh->login($username, $password); # Change needed to prevent buffer overrun @string2 = split ("\n", $string);