comparison docs/setup.rst @ 8386:a67945aec3df i18n

Let i18n branch track stable branch
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 04 May 2020 19:12:40 +0200
parents 68d4aae74194 a9e71e61cedf
children 881d2bd97973
comparison
equal deleted inserted replaced
8367:32ca332042cd 8386:a67945aec3df
150 ``ssh_authorized_keys`` setting of the ``.ini`` file) does not exist as a 150 ``ssh_authorized_keys`` setting of the ``.ini`` file) does not exist as a
151 directory, Kallithea will attempt to create it. If that path exists but is 151 directory, Kallithea will attempt to create it. If that path exists but is
152 *not* a directory, or is not readable-writable-executable by the server 152 *not* a directory, or is not readable-writable-executable by the server
153 process, the server process will raise an exception each time it attempts to 153 process, the server process will raise an exception each time it attempts to
154 write the ``authorized_keys`` file. 154 write the ``authorized_keys`` file.
155
156 .. note:: It is possible to configure the SSH server to look for authorized
157 keys in multiple files, for example reserving ``ssh/authorized_keys`` to be
158 used for normal SSH and with Kallithea using
159 ``.ssh/authorized_keys_kallithea``. In ``/etc/ssh/sshd_config`` set
160 ``AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys_kallithea``
161 and restart sshd, and in ``my.ini`` set ``ssh_authorized_keys =
162 /home/kallithea/.ssh/authorized_keys_kallithea``. Note that this new
163 location will apply to all system users, and that multiple entries for the
164 same SSH key will shadow each other.
155 165
156 .. warning:: The handling of SSH access is steered directly by the command 166 .. warning:: The handling of SSH access is steered directly by the command
157 specified in the ``authorized_keys`` file. There is no interaction with the 167 specified in the ``authorized_keys`` file. There is no interaction with the
158 web UI. Once SSH access is correctly configured and enabled, it will work 168 web UI. Once SSH access is correctly configured and enabled, it will work
159 regardless of whether the Kallithea web process is actually running. Hence, 169 regardless of whether the Kallithea web process is actually running. Hence,