首页 > 其他 > 详细

ssh bitbucket

时间:2015-08-15 20:03:07      阅读:180      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!