fix(libssh): multiple command on the same connect with key auth (#3302)
This commit is contained in:
parent
37890b6074
commit
412bead426
|
@ -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…
Reference in New Issue