Files
@ 6da70f4569bf
Branch filter:
Location: kallithea/kallithea/front-end/kallithea-variables.less
6da70f4569bf
2.7 KiB
text/x-less-css
ssh: introduce ini setting 'ssh_enabled', disabled by default
Administrators should control the use of SSH and may want to disable SSH
access, temporarily or permanently.
An explicit setting ssh_enabled is better than e.g. checking for a valid
ssh_authorized_keys setting, to allow such trivial temporary disabling.
To keep the controllers simple, introduce a decorator IfSshEnabled instead
of repeating the same config checks in every method.
Administrators should control the use of SSH and may want to disable SSH
access, temporarily or permanently.
An explicit setting ssh_enabled is better than e.g. checking for a valid
ssh_authorized_keys setting, to allow such trivial temporary disabling.
To keep the controllers simple, introduce a decorator IfSshEnabled instead
of repeating the same config checks in every method.