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

authorized_keys file got empty for instances behind bastillion server #507

Open
akanksha-singh-robomq opened this issue Jul 20, 2023 · 0 comments

Comments

@akanksha-singh-robomq
Copy link

I have instances behind the Bastillion server, and lately, we have been experiencing frequent issues of 'permission denied' when trying to SSH into those instances using SSH keys created through the Bastillion account.

Reason: After investigating, I found that the 'authorized_keys' file of the instances is getting emptied, which prevents us from SSHing into the systems.

Exploration: I have explored Bastillion's SSH key management, and it appears that it overrides the 'authorized_keys' file every time a key is added or removed.

I am currently facing difficulties in replicating the issue. I want to understand what exactly happens behind the scenes when the 'authorized_keys' file gets emptied. I need help in replicating the issue.

So far, I have attempted the following methods, but none of them have worked:

  1. Created keys frequently from different users.
  2. Deleted keys from different users.
  3. Deleted keys directly from the 'authorized_keys' file.
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

1 participant