更新时间:2022-08-05 GMT+08:00
下载RSA公私钥
功能介绍
当源端服务器为Linux操作系统时,安装在源端服务器上的迁移Agent通过SSH来和目的端服务器通信。该接口会返回RSA算法下的一组公私钥,用来做目的端服务器SSH主机秘钥。
迁移Agent自动调用此接口用于下载RSA公私钥,您无需调用此接口。
请求消息
无
示例
- 响应示例
{ "private_key ":"-----BEGIN RSA PRIVATE KEY-----\nMIIEoAIBAAKCAQEAo9rcDbwylbq73zmv3IL9cxgBqe+POIIOguVo7ZKqxwOLm2sz\nAf7y/taAtdQdIwGOeuhTXS1o3Ea3sc96XwJhCJbCZwZck/6yO2zq041qL6YQ3VZY\nU1XHJnYp50Fd7mQA2ud5M48DE6ggs5sJ5DDr8g0GzscnIPHB1mg1tP+f1tcTEhFq\nmZiU208VGGetoHFIdgvbcw9V3Ci/INMcoMWe1AsKDNeRVTNdT+qgzqFUEgOUa21/\n8s25Tdv38pHwKobh9GNAICThsoQuOzmuMPv4nxyoNy43CEuGmj+3qdXe6+nJYug6\ndEjP9RCJ5LVt5QEflG81+xDfuTXGjIE/aHqhTQIDAQABAoH/JcNK899ryRZANjIV\nVbzarKvbtk5/s4ZF0eUNSbODqFoo0qjiGJOpbRICl+VK0caKD8l7bP4KLLofm9s1\nWLAzrMcSBqxwqasJaKixdhAhaNndCSXdNVePjk2tWp62BzsE925hgIB1NRKKdtpE\nbVLZDe/yobVET1NoWQGrXwuKyvhn9+z/hDkZJDVoQRolUa2SiNYWh7QiU+GeZ5DD\nPjpiAJfmBe4Zs611AhJMiBQohGDy+L8thGRx3bl69fIIn3Sa1ZTC49sW+82qGHsP\nqhXiB6OCsmVy44DmOUUG/qClY/aSer/a4cNLaZTzzx3IhCeI30ats/0aLEw5Szyb\nsIgBAoGBANO55QA14SgAR+XjGsMOq8/rHU/x3cquJO1COeFF8xCgAOulmRmQbpYC\ni34fJlpNTbi5czTy8JuPsKAcSGnbnFVZtEEB1XpZCDZ5ChSqaiCZECdl79RjZ4GZ\nJMa3uXnwio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fykfAqhuH0Y0AgJOGyhC47Oa4w+/ifHKg3LjcIS4aaP7ep1d7r6cli6Dp0SM/1EInktW3lAR+UbzX7EN+5NcaMgT9oeqFN \n" }
状态码
状态码请参见状态码。
错误码
请参见历史错误码。
父主题: 证书管理