3

I have deployed Ceph with Juju. I am trying to ssh in with the following command:

sam@maas01:~$ sudo juju ssh ceph/0
Permission denied (publickey,password).
error: exit status 255

I have my public key in /home/sam/.ssh/. I had also tried to explicitly specify the key's path in enviornments.yaml file which didn't help. And as I had seen in many posts not to add ssh keys in MAAS web panel, I haven't added they key there. Any help?

0xF2
  • 3,155
SaM
  • 675

2 Answers2

3

I do think you need to add your key to MAAS, and, frustratingly, juju destroy-machine and redeploy.

i had seen in many posts not to add ssh keys in MAAS web panel

Btw, where did you read that? If you remember it would be good to know, so that I can add a comment or something. If I'm right.

0

Aha! i got it working :D. instead of sudoer user ssh key i added root user ssh key.

SaM
  • 675