Let’s say I have configured a server with the LAMP stack and set up an SSH key which is configured as an access key for a git repository.
After configuring this server, I also want to create a staging and development server, so I create a snapshop of the server and create two copies of this snapshot. This results in 3 servers with the same SSH keys used to access the GIT repository. These SSH keys are only used for read access to the GIT repository.
Are there any reasons (security wise) to not do this, and make sure a unique SSH key is configured for each copy of the original server?
Thanks in advance!
I found this thread that revolves around the same questions, but as that’s quite old, I was wondering what the current viewpoint on this matter is.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!