When you create a new instance you may choose to configure a password for the default user of the operating system. This enables you to login to the instance via the console. If you don't configure a password for the default user, you'll have to use the image's default password or use SSH to connect to the instance.
How to configure the password
The password is configured when you create a new instance. When following the steps required to configure your new instance you will encounter the "configuration" screen:
Change the password from "123456" to a strong and personal password. Now copy this text into the "Customization script" field.
#cloud-config
password: 123456
chpasswd: { expire: False }
ssh_pwauth: True
After the instance is launched, you can open the console and use the default username and the password you configured.
Comments
0 comments
Please sign in to leave a comment.