forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
23 lines
2.7 KiB
HTML
23 lines
2.7 KiB
HTML
<a name="as_faq_0012"></a><a name="as_faq_0012"></a>
|
|
|
|
<h1 class="topictitle1">Why Can't I Use a Key File to Log In to an ECS?</h1>
|
|
<div id="body43589667"><div class="section" id="as_faq_0012__section19793926"><h4 class="sectiontitle">Issue Description</h4><p class="MsoNormal" id="as_faq_0012__p41102114">When I used a key file to attempt to log in to an instance in an AS group, the login failed.</p>
|
|
</div>
|
|
<div class="section" id="as_faq_0012__section43927610"><h4 class="sectiontitle">Possible Causes</h4><p class="MsoNormal" id="as_faq_0012__p40936926">The image specified in the AS configuration of the AS group is a private image, on which Cloud-Init has not been installed.</p>
|
|
<p class="MsoNormal" id="as_faq_0012__p32888014">In this case, it would not be possible to customize the ECS configuration. As a result, you can log in to the ECS only using the original image password or key pair.</p>
|
|
</div>
|
|
<div class="section" id="as_faq_0012__section59804173"><h4 class="sectiontitle">Handling Method</h4><ol id="as_faq_0012__ol46683439"><li id="as_faq_0012__li17497770">Check whether the ECS needs to be logged in to.<ul class="subitemlist" id="as_faq_0012__ul23262209"><li id="as_faq_0012__li8033291">If yes, use the original image password or key pair to log in to this ECS.<p id="as_faq_0012__p5190763"><a name="as_faq_0012__li8033291"></a><a name="li8033291"></a>The original image password or key pair is the OS password or key pair configured when the private image was created.</p>
|
|
</li><li id="as_faq_0012__li46716873">If no, go to step <a href="#as_faq_0012__li4126846117151">2</a>.</li></ul>
|
|
</li><li id="as_faq_0012__li4126846117151"><a name="as_faq_0012__li4126846117151"></a><a name="li4126846117151"></a>Change the AS configuration of the AS group. For details, see <a href="as_01_0103.html">Changing the AS Configuration for an AS Group</a>.</li></ol>
|
|
<div class="note" id="as_faq_0012__note3276954817212"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_faq_0012__p2649047717212">Make sure that Cloud-Init or Cloudbase-Init has been installed on the image specified in the new AS configuration. For how to install Cloud-Init or Cloudbase-Init, see <em id="as_faq_0012__i141627494">Image Management Service User Guide</em>.</p>
|
|
</div></div>
|
|
<p class="litext" id="as_faq_0012__p20304554">After the AS configuration is changed, you can use the key file to log in to the new ECSs that are added to the AS group during scaling actions. You do not need to use the original image password or key pair to log in to these new ECSs anymore.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1105.html">Others</a></div>
|
|
</div>
|
|
</div>
|
|
|