Score:0

ssh-copy-id ceph@osd-0 /bin/ssh-copy-id: ERROR: failed to open ID file '/home/ceph/.pub': No such file or directory

bw flag

I can ssh successfully my ceph osd nodes but when i am trying to copy ssh id i am getting below error can anyone guide why i am getting below errors.

[ceph@monitor ~]$ ssh-copy-id ceph@osd-0

/bin/ssh-copy-id: ERROR: failed to open ID file '/home/ceph/.pub': No such file or directory (to install the contents of '/home/ceph/.pub' anyway, look at the -f option) [ceph@monitor ~]$

in flag
Please don't edit your answer into your question, post it as an answer instead and accept it when you can.
Score:1
cn flag

your local public key is not found in /home/ceph/.pub

By default, your SSH keys are in /home/user/.ssh/key[.pub]

You can specify the right key to use with the -i (i for 'identity') option :

ssh-copy-id user@server -i /file/to/use

Score:0
pk flag

95% of keys issues are related to permissions. Make sure .ssh folder exists and the permissions are .ssh permissions are 700 and all files in folder are 600. The current user is the owner on all files.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.