GitLab Shell

Created by: dzaporozhets

Since I pushed a first version of https://github.com/gitlabhq/gitlab-shell I'd like to get some feedback from core team. gitlabhq master branch also get some significant changes.

This issue is for technical discussion of gitlab-shell and gitlab

How ~/.ssh/authorized_keys looks now:

# Managed by gitlab-shell
command="/home/git/gitlab-shell/bin/gitlab-shell key-8",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA...
command="/home/git/gitlab-shell/bin/gitlab-shell key-23",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA...

gitlab-shell check for permission to execute git command via api. No access files or something

Also new directory structure:

|-- home
|   |-- git
|       |-- .ssh
|       |-- gitlab
|       |-- gitlab-satellites
|       |-- gitlab-shell
|       |-- repositories