From bafbeb6fca21374aebace7ae65b964c875d87d01 Mon Sep 17 00:00:00 2001 From: Daniel Pivonka Date: Mon, 11 Oct 2021 17:15:35 -0400 Subject: [PATCH] doc/cephadm: document setting ssh-user during adopt Signed-off-by: Daniel Pivonka --- doc/cephadm/adoption.rst | 6 ++++++ doc/cephadm/host-management.rst | 2 ++ 2 files changed, 8 insertions(+) diff --git a/doc/cephadm/adoption.rst b/doc/cephadm/adoption.rst index db4fded39816a..e06422a716cc2 100644 --- a/doc/cephadm/adoption.rst +++ b/doc/cephadm/adoption.rst @@ -118,6 +118,12 @@ Adoption process document for instructions that describe how to import existing ssh keys. + .. note:: + It is also possible to have cephadm use a non-root user to ssh + into cluster hosts. This user needs to have passwordless sudo access. + Use ``ceph cephadm set-user `` and copy the ssh key to that user. + See :ref:`cephadm-ssh-user` + #. Tell cephadm which hosts to manage: .. prompt:: bash # diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index 621f2a753b1ed..2253cb6e14df6 100644 --- a/doc/cephadm/host-management.rst +++ b/doc/cephadm/host-management.rst @@ -233,6 +233,8 @@ You will then need to restart the mgr daemon to reload the configuration with:: ceph mgr fail +.. _cephadm-ssh-user: + Configuring a different SSH user ---------------------------------- -- 2.39.5