~edwargix/git.sr.ht

05f648d13e46cb9375249ae30d19821cb1c9c6cd — Drew DeVault 7 years ago 3974c60
Update AuthorizedKeysCommand in git-srht-dispatch
1 files changed, 2 insertions(+), 2 deletions(-)

M git-srht-dispatch
M git-srht-dispatch => git-srht-dispatch +2 -2
@@ 1,5 1,5 @@
#!/usr/bin/env python3
# AuthorizedKeysCommand=/usr/bin/git-srht-dispatch auth "%u" "%h" "%t" "%k"
# AuthorizedKeysCommand=/usr/bin/git-srht-dispatch "%u" "%h" "%t" "%k"
# AuthorizedKeysUser=root
import sys
import os


@@ 25,7 25,7 @@ load_config("git")

def auth_keys_error():
    log("This command should be run by sshd's AuthorizedKeysCommand")
    log('AuthorizedKeysCommand={} auth "%u" "%h" "%t" "%k"\nAuthorizedKeysUser=root',
    log('AuthorizedKeysCommand={} "%u" "%h" "%t" "%k"\nAuthorizedKeysUser=root',
        os.path.abspath(sys.argv[0]))
    sys.exit(1)