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

less verbose failed to parse key scan "this-is-a-bad-entry": invalid keyscan errors #4150

Open
alexcb opened this issue May 23, 2024 · 0 comments
Labels
type:enhancement Small feature requests / adjustments

Comments

@alexcb
Copy link
Contributor

alexcb commented May 23, 2024

What existing functionality needs improvement?

echo this-is-a-bad-entry >> ~/.ssh/known_hosts
earthly github.com/earthly/earthly+base

produces:

failed to parse key scan "this-is-a-bad-entry": invalid keyscan
failed to parse key scan "this-is-a-bad-entry": invalid keyscan

Expected Behavior

We should limit this to a single line number, or possibly silence it completely (unless there's a different failure).

We should additionally print where the invalid key came from (e.g. ~/.ssh/known_hosts line X)

@alexcb alexcb added the type:enhancement Small feature requests / adjustments label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Small feature requests / adjustments
Projects
Status: Icebox
Development

No branches or pull requests

1 participant