this should be a concatenated string, not a tuple

lol thanks nosbig
This commit is contained in:
brent s. 2021-06-30 04:25:59 -04:00
parent 70b5e91fa3
commit a5116dedab
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,'