0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MacにおけるSSH Keyの作成の仕方

Last updated at Posted at 2023-09-23
  1. まずホームディレクトリに行き、.sshが存在するかを確認します。
cd;
ls .ssh;
  1. sshがなければフォルダを作成します
mkdir .ssh;
cd .ssh;
  1. SSHキーを作成します。

tオプションでrsaを指定します。

ssh-keygen -t rsa

これで作成は完了です。

  1. git hubにSSHの公開鍵を登録する場合

https://github.com/settings/keys
に下記コマンドで確認した内容を貼り付けます

cat ~/.ssh/id_rsa.pub;
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?