LoginSignup
0
0

More than 1 year has passed since last update.

JetbrainsのSpacesでGit用SSHキーの登録

Posted at

手順

  • 下記コマンドを実行し、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
  • 後はクローンして動作確認
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