Password and logon

Last Updated: Jun 22, 2017

When Auto Scaling automatically creates instances, how do I view their passwords and subsequently log in to these instances?

  • Instances automatically created by Auto Scaling do not have the same password. In a Linux environment, we recommend that you set a public/private key certificate for SSH login without password.

  • If you do not want to set a public/private key certificate for SSH login without password, you must reset the password on the console, and then restart the instance to apply the new password, before you can log in.

Why are the passwords of instances created by Auto Scaling different from the password for my custom image?

  • Created ECS instances do not have the same password as the custom image. To ensure password security, we recommend that you set a public/private key certificate for SSH password-free logon.

  • If you do not want to set a public/private key certificate for SSH login without password, you must reset the password on the console, and then restart the instance to apply the new password, before you can log in.

When using a custom image to generate Linux system instances, can I manage the instances through SSH login without password?

You can set a public/private key certificate for SSH login without password as follows:

  1. Establish a public key and private key in the custom image’s ECS server-end instance.

  2. Copy the ECS instance idc.pub to the client.

  3. Delete the public key from the server-end.

  4. Modify the SSH configuration file on the server-end.

  5. Configure the client software.

Using SecureCRT configuration as an example:

  1. Select the corresponding remote connection information.

  2. Right-click on the Attribute option and select SSH2.

  3. Clear the Password option and select PublicKey.

  4. Click the Attribute button on the right side and select Use Session Public Key Settings

  5. Select Use ID or Certificate File, and idc.pub (the public and private key files you previously copied from the server).

Thank you! We've received your feedback.