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

Password prompt if wrong SSH key is present #1283

Open
lsrmg opened this issue Feb 11, 2025 · 4 comments
Open

Password prompt if wrong SSH key is present #1283

lsrmg opened this issue Feb 11, 2025 · 4 comments

Comments

@lsrmg
Copy link

lsrmg commented Feb 11, 2025

Bug description

If I use a invalid ssh-key a password prompt is shown. If I use the right password it seems the app want to use the key nevertheless and the authentication fails. After deleting the key it works with the same pw.

Steps to reproduce

  1. Add an invalid ssh-key
  2. Connect to a server
  3. Type in the correct password
  4. Authentication fails

Great app btw! :-)

Copy link

Thank you for your feedback! 🙏 Arnaud (@isontheline) will respond within a few hours. In the meantime, please feel free to add any additional information that may help us resolve or improve WebSSH.

@isontheline
Copy link
Owner

Great app btw! :-)

Thank you 🙏

Do the pkey need to be removed or if you kill-restart WebSSH all is right?

I would like to check about password memory cache.

@lsrmg
Copy link
Author

lsrmg commented Feb 11, 2025

Thank you for looking into it. Restarting the app doesn't work. As long as the wrong key is present, the password-input gets prompted and fails. After removing the key it works without restarting the app.

I could imagine when connecting you are checking if a key is present and if that is the case use it no matter what.

@isontheline
Copy link
Owner

I’ll look at it, seems you’re right I use the pkey even it fails

@github-actions github-actions bot removed the Stale label Feb 11, 2025
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