手順
- 下記コマンドを実行し、sshキーを生成
cmd
ssh-keygen -t ed25519
# Generating public/private ed25519 key pair.
# Enter file in which to save the key (/Users/xxxxxxxxxxxxx/.ssh/id_ed25519): /Users/xxxxxxxxxxx/.ssh/spaces
# Enter passphrase (empty for no passphrase):(パスワード入力)
# Enter same passphrase again:(同じパスワードを再入力)
# Your identification has been saved in /Users/xxxxxxxxxxxx/.ssh/spaces.
# Your public key has been saved in /Users/xxxxx/.ssh/spaces.pub.
# The key fingerprint is:
# SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# The key's randomart image is:
#
- ~/.ssh/configを下記の様に編集し、ホストをjetbrainsに設定する
config
Host git.jetbrains.space
IdentityFile ~/.ssh/spaces
- 後はクローンして動作確認