summaryrefslogtreecommitdiff
path: root/bin/gitlab-shell
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-03 19:22:44 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-03 19:22:44 +0200
commitbb9863e87055daf8347de65847c4a0a82ab0dfa8 (patch)
tree9ec9e090e38a4d2c995394886e69efbd480df58f /bin/gitlab-shell
parent003377ac0be2f44db0a278c920d445953fbfe5c3 (diff)
downloadgitlab-shell-bb9863e87055daf8347de65847c4a0a82ab0dfa8.tar.gz
gitlab-shell binm
Diffstat (limited to 'bin/gitlab-shell')
-rwxr-xr-xbin/gitlab-shell11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/gitlab-shell b/bin/gitlab-shell
new file mode 100755
index 0000000..e8799bb
--- /dev/null
+++ b/bin/gitlab-shell
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+
+#
+# GitLab shell, invoked from ~/.ssh/authorized_keys
+#
+
+ROOT_PATH = File.expand_path('..', __FILE__)
+
+puts ENV['SSH_CONNECTION'].inspect
+
+exit