在 Oracle® Solaris 中安装和配置 OpenStack (Kilo)

退出打印视图

更新时间: 2016 年 6 月
 
 

如何创建 SSH 密钥对

  1. 在浏览器上,使用类似以下地址的 URL 登录到 Horizon 系统信息显示板:
    http://system/horizon/
  2. 通过检查缺省屏幕右上角的项目名称,确保登录到正确的项目。
  3. 在左侧面板上,单击 "Project"(项目)-> "Compute"(计算)-> "Access & Security"(访问 & 安全)选项卡。
  4. 在 "Key Pairs"(密钥对)选项卡上,确定是创建密钥对还是导入密钥对。
    • 创建密钥对。
      1. 单击 "Create Key Pair"(创建密钥对)按钮。
      2. 在 "Key Pair Name"(密钥对名称)字段上指定名称。
      3. 单击 "Create Key Pair"(创建密钥对)按钮。

        新密钥对会自动下载。否则,请单击提供的链接以下载密钥对。

        新密钥对会在 "Access & Security"(访问 & 安全)面板的 "Key Pairs"(密钥对)选项卡中列出。

    • 导入密钥对。
      1. 单击 "Import Key Pair"(导入密钥对)按钮。
      2. 在 "Key Pair Name"(密钥对名称)字段上指定名称。
      3. 从终端窗口中复制 root 用户的 .ssh/id_rsa.pub 文件的内容,然后将其粘贴在 "Public Key"(公钥)字段上。
      4. 单击 "Import Key Pair"(导入密钥对)按钮。

        新密钥对会在 "Access & Security"(访问 & 安全)面板的 "Key Pairs"(密钥对)选项卡中列出。