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

PasswordCallback should give more errors than "permision denied" #181

Open
umialpha opened this issue Sep 26, 2022 · 2 comments
Open

PasswordCallback should give more errors than "permision denied" #181

umialpha opened this issue Sep 26, 2022 · 2 comments

Comments

@umialpha
Copy link

umialpha commented Sep 26, 2022

In our ssh server, we integrate third-party authn system. When error occurs, it always prompts "permision denied", which confuses our users, meanwhile, we have to inspect server logs to give our users an explaination.
So, we need to prompt the details errors to our users, not just "permision denied".

I think we can fix this by adding a callback like "PasswordCallbackWithError" to make it backward compatible.
If this thought sounds ok, i can help to this feature.

@gustavosbarreto
Copy link
Collaborator

backward compatible? please do it

@umialpha
Copy link
Author

@gustavosbarreto hi, I created a mr, plz take a look :)
#187

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

No branches or pull requests

2 participants