5
5

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 5 years have passed since last update.

sourcetreeをmacで使う際のsshキーの設定

Last updated at Posted at 2015-09-11

##macでsshキー作成
ターミナルを開いて以下のコマンドを叩く

ssh-keygen -t rsa

いろいろ向こうから訪ねてくるけどここは頑なにreturnを押し続ける。

なにやらキーができましたよ的なメッセージが出たら今度は以下のコマンドを叩いて出てきた文字列をとりあえずコピー

less /Users/[ユーザー名]/.ssh/id_rsa.pub

##bitbucketに登録

画面右上のアイコンの隣にある「▼」から「アカウントの管理」に移動
今度は画面左側の「SSHキー」を押して「鍵を追加」
「label」は自分が分かるものでOK
「key」はさっきコピーした文字列を押す

登録完了

5
5
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
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?