From 617e353b2aee6bf907ca0d1fa045ec40fce53d97 Mon Sep 17 00:00:00 2001 From: AnAnalogGuy <70239317+AnAnalogGuy@users.noreply.github.com> Date: Sun, 5 Jun 2022 16:54:34 +0200 Subject: [PATCH 1/2] Update auth_mechanisms.rst Someone only checking this page and being new to cert based authentication could be she/he would also have to publish the public key on the SFTP/SSH server. So I added a short comment and link to the SFTP page containing more detailled information. When keeping lines 73 + 74 one might discard lines 69-73 as the same information can be found on the linked doc page. --- .../configuration_files/external_storage/auth_mechanisms.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin_manual/configuration_files/external_storage/auth_mechanisms.rst b/admin_manual/configuration_files/external_storage/auth_mechanisms.rst index c19fb0574..d3414debd 100644 --- a/admin_manual/configuration_files/external_storage/auth_mechanisms.rst +++ b/admin_manual/configuration_files/external_storage/auth_mechanisms.rst @@ -67,5 +67,10 @@ keypair is generated by Nextcloud and the public half shown in the GUI. The keys are generated in the SSH format, and are currently 1024 bits in length. Keys can be regenerated with a button in the GUI. +After generating your keys, you need to copy your new public key to the +destination server to ``.ssh/authorized_keys``. + +See :doc:`../sftp.rst` for additional information on how to set up certificate based authentication on SFTP. + .. figure:: images/auth_rsa.png :alt: Form on admin page for generating RSA keys. From 75582a05051d1e5f43ba5493a1d92c21be8f64e1 Mon Sep 17 00:00:00 2001 From: AnAnalogGuy <70239317+AnAnalogGuy@users.noreply.github.com> Date: Wed, 8 Jun 2022 00:50:23 +0200 Subject: [PATCH 2/2] Update auth_mechanisms.rst Corrected wrong relativ path in the :doc: directive of the sftp.rst. Signed-off-by: AnAnalogGuy 70239317+AnAnalogGuy@users.noreply.github.com --- .../configuration_files/external_storage/auth_mechanisms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration_files/external_storage/auth_mechanisms.rst b/admin_manual/configuration_files/external_storage/auth_mechanisms.rst index d3414debd..225eb6aba 100644 --- a/admin_manual/configuration_files/external_storage/auth_mechanisms.rst +++ b/admin_manual/configuration_files/external_storage/auth_mechanisms.rst @@ -70,7 +70,7 @@ can be regenerated with a button in the GUI. After generating your keys, you need to copy your new public key to the destination server to ``.ssh/authorized_keys``. -See :doc:`../sftp.rst` for additional information on how to set up certificate based authentication on SFTP. +See :doc:`sftp.rst` for additional information on how to set up certificate based authentication on SFTP. .. figure:: images/auth_rsa.png :alt: Form on admin page for generating RSA keys.