Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement method to call libssh2_userauth_banner #275

Open
ScottCUSA opened this issue Dec 2, 2022 · 0 comments
Open

Implement method to call libssh2_userauth_banner #275

ScottCUSA opened this issue Dec 2, 2022 · 0 comments

Comments

@ScottCUSA
Copy link

ScottCUSA commented Dec 2, 2022

Hello,

Would it be possible to implement a userauth_banner method to return the userauth banner message from libssh2_userauth_banner?

Maybe return an Option<&str> ?

If I'm reading the libssh2 docs correctly, libssh2_userauth_banner will return NULL until after libssh2_userauth_list is called, assuming the remote system sends a SSH_MSG_USERAUTH_BANNER message.

V/R
Scott

@ScottCUSA ScottCUSA changed the title Implement method to return libssh2_userauth_banner Implement method to call libssh2_userauth_banner Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants