--- a/authorized_keys/command.go Tue Apr 11 21:42:01 2023 -0500
+++ b/authorized_keys/command.go Wed Apr 12 23:21:11 2023 -0500
@@ -30,9 +30,8 @@
- fmt.Sprintf("command=\"%s once %s\"", c.HGKeeperExec, username),
+ fmt.Sprintf("command=\"%s --repos-path='%s' once %s\"", c.HGKeeperExec, g.ReposPath, username), - fmt.Sprintf("environment=\"HGK_REPOS_PATH=%s\"", g.ReposPath),
fmt.Printf("%s %s", strings.Join(options, ","), pubkey)