Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitb49c368

Browse files
author
Hubot
committed
Merge remote branch 'otherrepo-1418240714/master' into update-1418240714
2 parents2aaa60c +8a5b6c3 commitb49c368

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎content/guides/using-ssh-agent-forwarding.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ $ ssh -T git@github.com
6868

6969
Here are some things to look out for when troubleshooting SSH agent forwarding.
7070

71+
###You must be using an SSH URL to check out code
72+
73+
SSH forwarding only works with SSH URLs, not HTTP(s) URLs. Check the*.git/config* file on your server and ensure the URL is an SSH-style URL like below:
74+
75+
<preclass="terminal">
76+
[remote "origin"]
77+
url = git@github.com:<em>yourAccount</em>/<em>yourProject</em>.git
78+
fetch = +refs/heads/*:refs/remotes/origin/*
79+
</pre>
80+
7181
###Your SSH keys must work locally
7282

7383
Before you can make your keys work through agent forwarding, they must work locally first.[Our guide on generating SSH keys][generating-keys] can help you set up your SSH keys locally.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp