如何创建和使用 ssh 密钥对

来自Chinese Ikoula Wiki
Ikbot讨论 | 贡献2017年1月31日 (二) 20:14的版本
Jump to navigation Jump to search

fr:Comment créer et utiliser une paire de clés ssh

这篇文章是从由软件进行自动翻译。你可以看到这篇文章的源代码

我们通过帐户去创建 SSH 密钥 | _._。 从左边的菜单,然后选择生成 SSH' 视图 | _ ! _ | 我们单击按钮创建 SSH 再次右侧的搜索字段 | _._。 在打开的窗口中,填入你想要的键,您可以输入您关键的公共 ssh | _._。 如果您不指定公钥,然后 Cloudstack 为您提供将用于连接到您的实例 SSH 私有密钥 | _._。 若要使用这,复制 | _._。 将您的私人密钥粘贴在您的桌面上的文件 | _._。 从这你将连接到您的实例 | _._。 私有密钥然后将显示在界面 | _._。 您应将权限限制到您的私钥文件 | _._。 在部署期间您的实例,选择稳定的 'CoreOS' 模型 | _._。 通过 SSH 关键工程与所有连接模型 GNU | _._。 | _._。 然后检查您的 SSH 密钥 | _._。 上面创建 | _._。 在步骤中 | _._。 "核证 SSH' 必须能够连接到您的实例: _ ! _ | 一旦部署,您可以连接到您的实例在 ssh 通过您的密钥 | _._。 我们在这里使用用户在其他系统上核心自己 CoreOS 和非根 | _._。 类 | _._。 | _._。 您还可以使用客户端像腻子 ssh。 (1) 但是格式腻子格式中的关键。 (2) :
fr:Image:Bicleessh_01_comptes.png︰ 中心


我们将使用 | _._。 puttygen 装载机 | _._。 提供腻子 | _._。 运行它,然后点击: _ ! _ | 负载 | _._。 然后打开您保存您的私钥的文件。 :
fr:Image:Bicleessh_02_creer.png︰ 中心

然后单击 | _._。 好吧 | _._。 然后在密码字段中输入一个密码短语 | _._。 和: _ ! _ | 最后保存克 | _._。 保存私钥 | _._。 启动腻子并在主机名称框中输入您的 VM 的 ip | _._。 然后转到连接数据并指定 | _._。 核心 | _._。 在领域: _ ! _ | 自动登录的用户名。 :

fr:Image:Bicleessh_03_creerform.png︰ 中心


最后去连接 SSH Auth 并点击: _ ! _ | 浏览 | _._。 然后选择您的密钥文件专用 | _._。 单击打开以启动连接。 :

fr:Image:Bicleessh_04_privatekey.png︰ 中心


//服务器 () :

fr:Image:Bicleessh_05_cygwin.png︰ 中心
:

$ chmod 400 MySshPrivateKEY_CloudIkoulaOne

(/Linux) :
fr:Image:Bicleessh_06_coreos.png︰ 中心


()  7  :


fr:Image:Bicleessh_07_bicleessh2.png︰ 中心


() :

$ ssh -i MySshPrivateKEY_CloudIkoulaOne core@xxx.xxx.xxx.xxx

Last login: Mon Jun 20 09:27:06 2016 from xxx.xxx.xxx.xxx

CoreOS stable (1010.5.0)

core@xxxxxxxxxxx ~ $


==

"" ().
"" 

fr:Image:Bicleessh_08_puttygen.png︰ 中心

"" (1)  (2  3)  (4) "".

fr:Image:Bicleessh_09_puttygenloaded.png︰ 中心


fr:Image:Bicleessh_10_puttyip.png︰ 中心

"core"  "

fr:Image:Bicleessh_11_puttyautologin.png︰ 中心

"" 

fr:Image:Bicleessh_12_puttyprivatekey.png︰ 中心



您未被允许发表评论。