##// END OF EJS Templates
ssh: mention in docs how to use multiple authorized_keys files
Mads Kiilerich -
r8237:a9e71e61 stable
parent child Browse files
Show More
@@ -153,6 +153,16 b' be writeable by the Kallithea user.'
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
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.
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
General Comments 0
You need to be logged in to leave comments. Login now