Ramon Pego

Well-Known Member
Mar 12, 2019
57
10
8
Brazil
cPanel Access Level
Root Administrator
Twitter
Hello, I have a specific case on a server where I currently host 80 clients that use the "same site", that is, they use the same repository on github.
So to authenticate I create a ssh key on everyone and add it to the github account. So my git account has more than 80 keys just to authenticate a single repository.
Is it possible to generate a single key and share it with all users?
It would help a lot in the automation of account creation for this case of users.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
1,000
313
cPanel Access Level
Root Administrator
Hey there! I don't see why you couldn't do this, although there wouldn't be a tool in cPanel or WHM to provide this functionality. You'd need to manually place the key in each user's /home/username/.ssh directory, and then make sure the key file also has the correct ownership of the cPanel user, but that's all that would be required to get that working.