Search code examples
gitrepositorygitosis

gitosis: same user multiple machines


In git/gitosis a single ssh key is stored with the filename the same as user name.

i.e. myusername.pub

If I want to access a repository from many machines, must I make a new user from each location or is there a way to have multiple ssh keys for a single user.


Solution

  • Actually, gitosis supports that. You just have to add the ssh key on a new line in the key file.