summaryrefslogtreecommitdiff
path: root/bin/gitlab-shell
diff options
context:
space:
mode:
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