this should not be templated

forgot i did a .format() on it later.

lol thx again nosbig
This commit is contained in:
brent s. 2021-06-30 04:33:11 -04:00
parent a5116dedab
commit 4518f775b8
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -54,7 +54,7 @@ class UserAdder(object):
key_template = ('command=' key_template = ('command='
#'"cd {homedir};' #'"cd {homedir};'
#'borg serve --restrict-to-path {homedir}",' #'borg serve --restrict-to-path {homedir}",'
'"/usr/local/bin/borg-restricted.py ${SSH_ORIGINAL_COMMAND}",' '"/usr/local/bin/borg-restricted.py ${{SSH_ORIGINAL_COMMAND}}",'
'no-port-forwarding,' 'no-port-forwarding,'
'no-X11-forwarding,' 'no-X11-forwarding,'
'no-pty,' 'no-pty,'