updated debug documentation

This commit is contained in:
Roland Gruber 2005-10-07 16:07:07 +00:00
parent b1ce4f3ba1
commit 4f8ef06aef
2 changed files with 3 additions and 4 deletions

View File

@ -96,12 +96,11 @@
failed then you will find a description about the reason here. failed then you will find a description about the reason here.
- Enable debug output in lamdaemon - 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=>[ my $ssh = Net::SSH::Perl->new($hostname, options=>[
"UserKnownHostsFile /dev/null"], "UserKnownHostsFile /dev/null"],
protocol => "2,1", protocol => "2,1", debug => 1 );
debug => "true" );
This will produce a lot of output when you do the lamdaemon test. This will produce a lot of output when you do the lamdaemon test.
Check that there is a line like this: Check that there is a line like this:

View File

@ -232,7 +232,7 @@ else {
} }
my $ssh = Net::SSH::Perl->new($hostname, options=>[ my $ssh = Net::SSH::Perl->new($hostname, options=>[
"UserKnownHostsFile /dev/null"], "UserKnownHostsFile /dev/null"],
protocol => "2,1" ); protocol => "2,1", debug => 0 );
$ssh->login($username, $password); $ssh->login($username, $password);
# Change needed to prevent buffer overrun # Change needed to prevent buffer overrun
@string2 = split ("\n", $string); @string2 = split ("\n", $string);