BitbucketにCORESERVERのRSAキーを登録
- RSAキーを生成 ssh-keygen -t rsa パスフレーズを2度聞かれるが何も書かずにenter
$ ssh-add /Users/ayumin/.ssh/idrsa<account>
-
~/.ssh/config に以下の設定を追加
$ vi ~/.ssh/configbitbucket user for "<account>"
Host gitrepo-<account>
User git
Port 22
Hostname bitbucket.org
IdentityFile ~/.ssh/idrsa<account>
TCPKeepAlive yes
IdentitiesOnly yes RSAキーをコピー
$ cd ~/.ssh
$ vi idrsa<account>.pub
キーをコピーbitbucketに登録
https://bitbucket.org/account/user/hoge/ssh-keys/
からADD Keyする
Written by ジョニイ
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#