码迷,mamicode.com
首页 > 其他好文 > 详细

ssh bitbucket

时间:2015-08-15 20:04:46      阅读:100      评论:0      收藏:0      [点我收藏+]

标签:

$ cd .ssh/
$ ssh-keygen -t rsa -C "mac"

$ vi ~/.ssh/config
Host bb
User          git
HostName      bitbucket.org
IdentityFile  ~/.ssh/id_rsa

$ chmod 600 ~/.ssh/config

$ ssh bb
You can use git or hg to connect to Bitbucket. Shell access is disabled.
Connection to bitbucket.org closed.

$ git clone git@bitbucket.org:...

版权声明:本文为博主原创文章,未经博主允许不得转载。

ssh bitbucket

标签:

原文地址:http://blog.csdn.net/pyang1989/article/details/47684439

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!