~edwargix/git.sr.ht

57263a31b7aef1eb1cbc2bad8b611f1fc759d274 — Drew DeVault 8 years ago aee9fc7
Fix AuthorizedKeysCommand on invalid usage
1 files changed, 1 insertions(+), 1 deletions(-)

M git-srht-keys
M git-srht-keys => git-srht-keys +1 -1
@@ 30,7 30,7 @@ def log(s, *args):

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