mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 21:55:16 +02:00
fix(libssh): multiple command on the same connect with key auth (#3302)
This commit is contained in:
parent
160b22431b
commit
cde0516fc6
@ -94,6 +94,8 @@ sub connect {
|
||||
$self->{output}->add_option_msg(short_msg => sprintf("auth issue: %s", defined($msg_error) && $msg_error ne '' ? $msg_error : 'pubkey issue'));
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
|
||||
$self->{connected} = 1;
|
||||
}
|
||||
|
||||
sub execute {
|
||||
|
Loading…
x
Reference in New Issue
Block a user