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

Command to cleanup SSH known hosts #501

Open
juliogonzalez opened this issue Nov 18, 2024 · 2 comments
Open

Command to cleanup SSH known hosts #501

juliogonzalez opened this issue Nov 18, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@juliogonzalez
Copy link
Member

juliogonzalez commented Nov 18, 2024

Today, running tests, I ended up with a VM using the same IP from an old VM, but of course a different SSH key.

That caused the following while onboarding:

imagen

Maybe this should be an mgradm command so the user doesn't need to manually run things on the container.

Something like:

mgradm ssh remove-know-host <IP/HOSTNAME>

If we do this change, then we should try to change that message to tell the user to use the command... not sure how complicated that will be, because that message comes directly from openssh.

@cbosdo
Copy link
Contributor

cbosdo commented Nov 18, 2024

Since this would touch files in the container, mgradm seems more suited than mgrctl.

@cbosdo cbosdo added enhancement New feature or request good first issue Good for newcomers labels Nov 18, 2024
@juliogonzalez
Copy link
Member Author

Fixed on the description, I initially wrote mgrctl on one sentence, mgradm, by mistake :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants