Cloning, COmmiting, and Pushing via SSH #1318
Unanswered
Mailstorm-ctrl
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Seems like the uri github gives isn't correct. Replacing : with / works. Now I just need to figure out why I get errors about another process using a file in the repo. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've searched and searched but I can't seem to figure this out. We have a github enterprise instance that requires SSO sign in. In order to do anything with git in a system context we must use SSH (There are apps, but they appear to be to complex for our use case). Reading seems to imply that I can use dulwich for this.
This is probably lack of experience but I just can't figure out how to do what I need to with SSH.
I've followed this doc to get my SSH key authenticated. I tested ssh auth and it works, so I know it's not a key issue. Really the only thing I've tried is:
dulwich.porcelain.clone("ssh://[email protected]:orgname/reponame.git", "C:\\temp\\repo")Which will make .git in the folder but then comes back with
dulwich.errors.HangupException: ssh: Could not resolve hostname ssh: No such host is known.I know enough to know what this error means but I don't know what I need to do in Dulwich to correct it. THis post heavily implies that it "should just work" #941Beta Was this translation helpful? Give feedback.
All reactions