Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* ssh-keygen [#g670a32a]
** 作成 [#y84c59c5]
ssh-keygen -t rsa
*** ファイル名を指定 [#z2beef7d]
ssh-keygen -t rsa -f ~/.ssh/foo
=> ~/.ssh/foo と ~/.ssh/foo.pubができる
*** コメントを指定 [#u0c9425e]
ssh-keygen -t rsa -C this-is-my-key
** 鍵のフィンガープリントの確認 [#f412de90]
ssh-keygen -l -f ~/.ssh/id_rsa
-l Show fingerprint of specified public key file. Priva...
tries to find the matching public key file and prints...
tion of the key is supplied with the fingerprint.
*** 暗号化 2010年問題 [#p03cd0bc]
- RSA 1024ビットは避ける。2048ビットにする。
- ssh-keygen -t rsa で作成される鍵は2048ビット。
- https://www.ssl.ph/compare/useful/2010/
** 参考 [#ca7567ba]
http://serverfault.com/search?q=ssh+keygen+rsa
終了行:
* ssh-keygen [#g670a32a]
** 作成 [#y84c59c5]
ssh-keygen -t rsa
*** ファイル名を指定 [#z2beef7d]
ssh-keygen -t rsa -f ~/.ssh/foo
=> ~/.ssh/foo と ~/.ssh/foo.pubができる
*** コメントを指定 [#u0c9425e]
ssh-keygen -t rsa -C this-is-my-key
** 鍵のフィンガープリントの確認 [#f412de90]
ssh-keygen -l -f ~/.ssh/id_rsa
-l Show fingerprint of specified public key file. Priva...
tries to find the matching public key file and prints...
tion of the key is supplied with the fingerprint.
*** 暗号化 2010年問題 [#p03cd0bc]
- RSA 1024ビットは避ける。2048ビットにする。
- ssh-keygen -t rsa で作成される鍵は2048ビット。
- https://www.ssl.ph/compare/useful/2010/
** 参考 [#ca7567ba]
http://serverfault.com/search?q=ssh+keygen+rsa
ページ名: