In this article, we are going to check how to provide or create normal user ssh access for developers?
With the help of normal user ssh access, developers can able to access Codebase on a production server. They only have access within the Codebase area.
They only have access within the Codebase area.
In today's world, every change made on production server's using git only and providing production server access to developers is little risk.
When they want to pull any changes on production server they need to come to you and asked to take git pull on a production server.
In this case, better to provide normal user ssh access on a production server for taking git pull on a production server. It also helps developers to work smoothly on the server.
We have articles on SSH which gives you the idea to secure production server. For this go through the below links,
Let's check the step-by-step process to create normal ssh user on a Linux system.
1. Create devgit user
Here we are going to create a user with "devgit" and providing Key Based authentication access on the server. Key based access prevent the other user to use the credentials to login to the server.
Details of User which we are creating:
# Username: devgit
# Password: Key-based
Use below command to add User on the server.