ssh icon indicating copy to clipboard operation
ssh copied to clipboard

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

Open umialpha opened this issue 3 years ago • 2 comments

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

umialpha avatar Oct 25 '22 03:10 umialpha

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

gustavosbarreto avatar Oct 25 '22 20:10 gustavosbarreto

@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

umialpha avatar Nov 01 '22 09:11 umialpha