From: Daniel Pivonka Date: Mon, 11 Oct 2021 21:15:35 +0000 (-0400) Subject: doc/cephadm: document setting ssh-user during adopt X-Git-Tag: v17.1.0~704^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bafbeb6fca21374aebace7ae65b964c875d87d01;p=ceph.git doc/cephadm: document setting ssh-user during adopt Signed-off-by: Daniel Pivonka --- diff --git a/doc/cephadm/adoption.rst b/doc/cephadm/adoption.rst index db4fded39816..e06422a716cc 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 621f2a753b1e..2253cb6e14df 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 ----------------------------------