Authentication fails with SSH username or credentials

Cloud providers vary in their support for Secure Shell (SSH) authentication.

Amazon Web Services (AWS)

AWS cloud deployments use the cloud-init method to provision an SSH key for the puppetadmin user but disable root SSH access. You must specify a key pair when launching an AWS Marketplace image and connect it with the matching private key. For example, you can run:

aws ec2 run-instance --key-name <KEYPAIR_NAME> …
…
ssh -i ~/.ssh/<KEYPAIR_PRIVATE>.pem puppetadmin@<PRIMARY_HOSTNAME>

Microsoft Azure

Azure cloud deployments support authentication with either an SSH key pair or a username and password. The private key must be the pair of the public key specified when you created the image.