1
Background
I have a Linode
server with Ubuntu 16.04
as on OS on it. The server is for my internal team. We have repos hosted on github, bitbucket and gitlab. Only server admin has the access to the server.
We have generated ssh keys
for all the users, added them to git providers and cloned the repos
Problem Statement
Whenever I do git pull on server, it always asks for the main passphrase of main key file
Enter passphrase for key '/root/.ssh/id_rsa':
When I enter the passphrase, it shows me Permission denied error
Okay. Will try that. But what if I want the password protected keys for my server? How do I tell git to ask for the passphrase for this specific key? – baig772 – 2017-11-29T20:54:11.377
Maybe misunderstood your question (who/what are the "users"?). See edited answer. – xenoid – 2017-11-29T21:23:40.300