Skip to content

Instantly share code, notes, and snippets.

@IkezoeMakoto
Last active May 27, 2021 02:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IkezoeMakoto/5c72449bd931ba80b9a448f27d778a03 to your computer and use it in GitHub Desktop.
Save IkezoeMakoto/5c72449bd931ba80b9a448f27d778a03 to your computer and use it in GitHub Desktop.
鍵を生成する
# -t rsa(rsa形式を指定) -b 4096(ビット長を4096にデフォだと短いので) -N ""(パスフレーズは不要) -f ~/.ssh/id_rsa(出力ファイル名、ここはお好みで)
ssh-keygen -t rsa -m pem -b 4096 -N "" -f ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment