Skip to content

Commit

Permalink
deploy: d1b1af6
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhai9 committed Feb 1, 2024
1 parent 7149a9b commit 0833d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2014/11/21/使用gitcafe同步github/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 class="p-name title" itemprop="headline name">使用gitcafe同步github</h1>
<p><del>2.<strong>在github和gitcafe上同时上传博客的时候,不能使用相同的秘钥。</strong></del></p>
<span id="more"></span>

<p>cd到home目录( C:\Users\JackHai)下的.ssh目录,<br><code>ssh-keygen -t rsa -C &quot;jackhai789@gmail.com&quot; </code> 回车&#x2F;回车&#x2F;回车<br>以上命令执行后会在当前目录下生成id_rsa的秘钥和id_rsa.pub的公钥,把公钥内容copy到你的gitcafe账号的“SSH公钥管理”里,然后在命令行里使用命令 ssh -T <a href="mailto:&#x67;&#x69;&#116;&#64;&#x67;&#105;&#x74;&#x63;&#97;&#102;&#x65;&#46;&#x63;&#111;&#x6d;">&#x67;&#x69;&#116;&#64;&#x67;&#105;&#x74;&#x63;&#97;&#102;&#x65;&#46;&#x63;&#111;&#x6d;</a>测试下,出现 “Hi jackhai9! You’ve successfully authenticated, but GitCafe does not provide shell access.” 提示,则ok了!</p>
<p>cd到home目录( C:\Users\JackHai)下的.ssh目录,<br><code>ssh-keygen -t rsa -C &quot;jackhai789@gmail.com&quot; </code> 回车&#x2F;回车&#x2F;回车<br>以上命令执行后会在当前目录下生成id_rsa的秘钥和id_rsa.pub的公钥,把公钥内容copy到你的gitcafe账号的“SSH公钥管理”里,然后在命令行里使用命令 ssh -T <a href="mailto:&#103;&#105;&#116;&#x40;&#x67;&#x69;&#x74;&#99;&#97;&#x66;&#101;&#46;&#99;&#x6f;&#x6d;">&#103;&#105;&#116;&#x40;&#x67;&#x69;&#x74;&#99;&#97;&#x66;&#101;&#46;&#99;&#x6f;&#x6d;</a>测试下,出现 “Hi jackhai9! You’ve successfully authenticated, but GitCafe does not provide shell access.” 提示,则ok了!</p>
<p><del>这个时候回到HexoBlog目录,执行hexo g,然后upblog.bat,哈哈,同时部署到github和gitcafe,ok!good!</del></p>
<p>注意:</p>
<ul>
Expand Down

0 comments on commit 0833d6d

Please sign in to comment.