Hello List,
i did:
root@ceph01:~# ceph cephadm set-ssh-config -i /tmp/ssh_conf
root@ceph01:~# cat /tmp/ssh_conf
Host *
User root
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
root@ceph01:~# ceph config-key set mgr/cephadm/ssh_identity_key -i
/root/.ssh/id_rsa
set mgr/cephadm/ssh_identity_key
root@ceph01:~# ceph config-key set mgr/cephadm/ssh_identity_pub -i
/root/.ssh/id_rsa.pub
set mgr/cephadm/ssh_identity_pub
But i get:
root@ceph01:~# ceph orch host add ceph01 10.10.1.1
Error ENOENT: Failed to connect to ceph01 (10.10.1.1). Check that the
host is reachable and accepts connections using the cephadm SSH key
root@ceph01:~# ceph config-key get mgr/cephadm/ssh_identity_key =>
this shows my private key
How can i debug this?
root@ceph01:~# ssh 10.10.1.1
or
root@ceph01:~# ssh ceph01
work without a prompt or key error.
I am using 15.2.0.
Thanks,
Michael