updated debug documentation
This commit is contained in:
parent
b1ce4f3ba1
commit
4f8ef06aef
|
@ -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:
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue