LoginSignup
15
16

More than 5 years have passed since last update.

OpenSSHの秘密鍵から公開鍵をツクル

Last updated at Posted at 2014-06-06

実行する頻度が少ないので、いざって時に毎回調べてるのでメモしておく。

ssh-keygen -y -f 秘密鍵 > 公開鍵 ;
  • 秘密鍵のpermissionが 400 になっていることを確認する
  • 公開鍵のpermissionを 644 に変更する

当たり前ですが、公開鍵から秘密鍵をツクルことは できません のでww

15
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
16