LoginSignup
79
47

More than 5 years have passed since last update.

秘密鍵から公開鍵作る

Last updated at Posted at 2018-02-07

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

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

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

79
47
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
79
47