LoginSignup
43

More than 5 years have passed since last update.

posted at

updated at

Organization

秘密鍵から公開鍵作る

手元に秘密鍵だけある場合に、公開鍵がほしい際に ssh-keygen コマンドから生成できるとのことでメモ書き📝

ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub

AWS の pem だけもっているときとかで突然公開鍵が必要な時に便利

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
What you can do with signing up
43