]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: on ssh connection error, advice chmod 0600 39259/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 3 Feb 2021 12:56:09 +0000 (13:56 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 3 Feb 2021 12:56:09 +0000 (13:56 +0100)
Fixes: https://tracker.ceph.com/issues/46551
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/cephadm/serve.py

index f988295fda04aff8c6f75686a51bb6904f679034..d5e601adea67ecd345fb0d00fe3b986d48185cc9 100644 (file)
@@ -1069,6 +1069,7 @@ To add the cephadm SSH key to the host:
 To check that the host is reachable:
 > ceph cephadm get-ssh-config > ssh_config
 > ceph config-key get mgr/cephadm/ssh_identity_key > ~/cephadm_private_key
+> chmod 0600 ~/cephadm_private_key
 > ssh -F ssh_config -i ~/cephadm_private_key {user}@{host}'''
             raise OrchestratorError(msg) from e
         except Exception as ex: