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

add PasswordAuthE func, which is like PasswordAuth but returns error instead of bool #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

umialpha
Copy link

Add PasswordAuthE function, because sometimes ssh server should returns detailed error than "permission denied".
if PasswordAuthEand PasswordAuth both set, PasswordAuthE will overwrite PasswordAuth

@gustavosbarreto
Copy link
Collaborator

@umialpha What do you think about this callback being generic for all of authentication errors (password, publickey...)?

@umialpha
Copy link
Author

umialpha commented Nov 1, 2022

@umialpha What do you think about this callback being generic for all of authentication errors (password, publickey...)?

ok, let me rethink how to unify them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants