Hi,
I can't find any Event, which allows to ask for Authentication informations while Connect() is running.
Currently I have a project where 2 Factor Auth might be used. So I get a PartialSuccess
with pubkey-auth and then the SSH-Server wants a password.
Before Connect() it is not possible to know wether the target wants password, pubkey or
pubkey&password for authentication.
My Idea now is to add Events to SshClient which can be used to ask the user for these
informations while connecting.
Are there any attempts yet or did I overlooked these Events in SshClient?
I can't find any Event, which allows to ask for Authentication informations while Connect() is running.
Currently I have a project where 2 Factor Auth might be used. So I get a PartialSuccess
with pubkey-auth and then the SSH-Server wants a password.
Before Connect() it is not possible to know wether the target wants password, pubkey or
pubkey&password for authentication.
My Idea now is to add Events to SshClient which can be used to ask the user for these
informations while connecting.
Are there any attempts yet or did I overlooked these Events in SshClient?