-
Notifications
You must be signed in to change notification settings - Fork 88
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
accountAddPersonalAccess pub key not added to remote server ? #360
Comments
Hey, This is briefly explained in the documentation here: https://ovh.github.io/the-bastion/using/basics/first_steps.html#setting-up-access-to-a-server Generally speaking, The Bastion will never connect to remote servers and "do stuff" behind your back, this has been a design principle since the beginning. This means that your remote The logic behind this, is that The Bastion, by default, has no implicit superpower over your whole infrastructure. It only has the power you give to it, i.e. the public keys you'll add to your remote servers. Having the remote This design principle also means that you can setup bastion clusters to be "self-service" for your teams, i.e. you can allow commands such a Now, to give some perspective about the day to day usage, we usually manage authorized_keys with Puppet (but any other similar system is okay, of course), and use groups a lot, because then we can manage the egress keys in Puppet, and it doesn't depend on "who" actually has access to the groups: we don't need to modify the authorized_keys after the server has been setup, as who should have access in the end is determined by their group membership on the bastion. Does that shed some light? |
Thank for clarifying. I understand the idea with Puppet and other tools, we manage it that way too with ansible for now, but I though it would be better to delegate this to The Bastion as the person in charge with managing access may not be the same than the one who perform tasks with Ansible/Puppets. Actually what I understood from that part of the documentation was that, you had to setup a first access the remote server to allow its management from The Bastion (because we are stile in the setup part of the process, adding a server to the Bastion as an admin, not giving access to other accounts/groups)
This accentuates the idea that we are in a setup phase in admin mode and that it will not be necessary to redo the manipulation for each group/account. |
Hi,
Beginner question here :
I am a bit confuse with the way we can add/remove access to servers. I thought that, as an admin, if I add a group or personnal access to a server, the group/account pub key was automatically pushed or removed to the target server to avoid having to manage the autorized_keys file manually.
Did I miss something or are we supposed to manage autorized_keys manually for each server ?
When I add an account access, the command display this message :
Can't verify if <user>'s personal key have been installed to the remote server, as you don't have access to his private keys, adding the access blindly
Can it be a config issue (I followed the install guide step by step)?
Thanks
The text was updated successfully, but these errors were encountered: