-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Automatically reply keyboard-interactive
password requests with password if available
#293
Comments
Can you post the If I configure a (plain text) password in the Password field, the extension will use that to authenticate. Isn't this what you want? |
Did you press Save? It should save it (to your User Settings) and use it every time you connect. As for hiding the password, you can either set it to prompt for the password, make use of a private key (with passphrase) or ideally make use of an agent, in which you'd only have to add your key to your agent once every boot. |
of course it's saved, thats is funny |
I'll see what the logs say. Even though it doesn't log much before the prompt finishes, afterwards it prints a bunch of information, including info about what it thought it should've used as password or why it prompts. |
But to be clear.. coz not sure. Exist some logs for before logs by SSHFS? Or it's declaration by Your side to check? |
Use the |
That's why I'm saying to enter a password so the logs are printed and I can check them for any useful information. It should still print logs after you've gone through all the input prompts. |
But where to find logs? How to force it? After enter password I have typical shell.. then working normal. |
|
Soo.. the first input is
|
According to those logs, your server is actually the one asking for the password:
This is quite unusual. If you want more detailed logs (including the underlying
Since this is the first time I've seen an unwanted |
Not sure about. But it's only on my server that this pass is not user 1st time?
|
It seems like password authentication fails:
Are you sure you entered the correct password? E.g. the same password you'd use when logging in on that user (or when doing |
Sure, note this post #293 (comment) . That this case is only when VSC is restarted. |
I meant is the correct password configured in the settings? And when you use SSH outside VS Code (e.g. through the |
Yes. After session is closed and must re-connect the password is used from config as in post I wroted, and it's correct then. |
I'm not sure what I can do then. I could try adding an option to auto-reply with the password when the server prompts for something with "password" in the text during authentication (once I figure out how to detect that state, since the underlying |
keyboard-interactive
password requests with password if available
There is option to save password:
But when saved and when connecting, then addon opening the comand line like ctr+p to type password.
This is no sense.
We need option to use this pass from setting as default, or ask..
I'm suggesting use something like this:
https://docs.openshift.com/container-platform/4.1/authentication/identity_providers/configuring-htpasswd-identity-provider.html
The text was updated successfully, but these errors were encountered: