Top/Security/ssh

目次

sshキー

キーの生成

$ ssh-keygen -C account@example.com -f .ssh/account@example.com.key
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in .ssh/account@example.com.key.
Your public key has been saved in .ssh/account@example.com.key.pub.
The key fingerprint is:
ba:53:a5:59:8b:97:18:f4:d3:d3:08:a1:47:35:25:1d account@example.com
The key's randomart image is:
+---[RSA 2048]----+
|          oo+oE. |
|        .o.  o.  |
|       ....o o   |
|        ..= + .  |
|        SO + .   |
|       .* +      |
|      .. .       |
|      ..         |
|      ..         |
+-----------------+
$

ssh-agent / ssh-add

Links


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS