SSH GitLab, , /home/git/.ssh/authorized_keys. https://github.com/gitlabhq/gitlabhq/issues/3120, :
rake gitlab:shell:setup RAILS_ENV=production
: RAILS_EVN=production, , cannot load such file -- rb-inotify
git sudo, sudo, , (git) .ssh
$ sudo chgrp -R git /home/git/.ssh
$ sudo chown -R git /home/git/.ssh
GitLab, SSH- ( , ).
/home/git/.ssh/authorized_keys, git push -v -u origin master , !