diff options
Diffstat (limited to 'authorized_keys.example')
| -rw-r--r-- | authorized_keys.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/authorized_keys.example b/authorized_keys.example new file mode 100644 index 0000000..f702b22 --- /dev/null +++ b/authorized_keys.example @@ -0,0 +1,6 @@ +# Put this line in a SEPARATE authorized_keys file for the git user, e.g. +# ~git/.ssh/gitctl_keys, NOT the normal ~git/.ssh/authorized_keys (gitolite +# owns and regenerates that one). Point sshd at it with a Match User git + +# AuthorizedKeysFile stanza. See README "SSH setup" step 2. +# One line, the command= forces gitctl-helper regardless of the client's sent command. +command="/usr/local/bin/gitctl-helper",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-ed25519 AAAA...REPLACE_WITH_HELPER_PUBKEY... gitctl-helper |
