I’ve deployed 2 machines and i can’t ssh to both of them i included cloud-init user-data but no success
i’m getting this Permission denied (publickey).
did you follow https://maas.io/docs/how-to-use-cloud-init-with-maas ?
@ammaralahmadi did you import your key during MAAS setup process?
Are there any keys listed under /MAAS/r/account/prefs/ssh-keys
?
Hi @ammaralahmadi ,
-
did you import SSH keys for the user deploying the machine? (as @troyanov asked)
-
did the deployment of the machine complete successfully?
-
can you share your custom user-data? (please anonymize it first if you have sensitive data)
Hi r00ta, Thank you for your help I just needed to ```
ssh -i /.ssh/id_rsa maas_user@10.192.226.195
Hi troyanov, thank you for your for your help and insight i did upload ssh key.
I don’t know if it will import it to the new machines without the cloud-init user-data script.
Thank you @alexsander-souza for your help.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.