this should not be templated
forgot i did a .format() on it later. lol thx again nosbig
This commit is contained in:
parent
a5116dedab
commit
4518f775b8
@ -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,'
|
||||||
|
Loading…
Reference in New Issue
Block a user