D
D
dexdev2013-12-28 20:44:21
SSH
dexdev, 2013-12-28 20:44:21

How to set permissions for a user in gitolite?

Can't clone remote repository.
Gives an error:
R access for taskme DENIED to adil_rsa
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: The remote end hung up unexpectedly
Although there is such a repository on the VPS server.
The user under which I want to clone gitolite execute the command git clone [email protected]:taskme.git.
How to properly distribute rights and configure ssh under a different user? I go to the server without a password by key - everything is configured for passenger nginx ruby ​​ROR capistrano ubuntu 12.04 64 bit mysql.
With coming!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dexdev, 2013-12-29
@AdilA

In general, it turns out that you need the name of the key on the server to match the username on the local machine) if the user's name in ubuntu local on your machine is anton, then the key should be called anton.pub

_
_ _, 2013-12-29
@AMar4enko

Would you first show the gitolite configuration file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question