Help Center/ Server Migration Service/ FAQs/ Agent Installation and Startup/ How Do I Troubleshoot Failures of Pasting the AK/SK Pair When I Start the Agent (Python 2)?
Updated on 2024-08-22 GMT+08:00

How Do I Troubleshoot Failures of Pasting the AK/SK Pair When I Start the Agent (Python 2)?

Symptom

When you started the SMS-Agent (Python 2), you could not paste the AK/SK pair by right-clicking in the command window.

Prerequisites

You have obtained the AK/SK pair. For details, see How Do I Obtain an AK/SK Pair for a Huawei Cloud Account? or How Do I Obtain an AK/SK Pair for an IAM User?

Solution

  1. Log in to the source server.
  2. Go to the Agent installation directory C:\SMS-Agent-Py2 and double-click agent-start.exe.
  3. Copy the AK, click the icon in the upper left corner of the window, choose Edit > Paste from the displayed menu, and press Enter.
  4. Copy the SK, click the icon in the upper left corner of the window, choose Edit > Paste from the displayed menu, and press Enter.