Subject: Using a PuTTY config instead of Pageant

Original Post 's Avatar

x3r0ss

03 Nov, 2009 08:17 PM

Hey,

I've been using github for a while now, but restarting pageant every time I boot isn't really something I like to do. and using another method with my other repos I was wondering if it's possible with github.

With my other private repositories I just use a session configured in putty like ssh://SESSNAME/path/to/repo.git
How would I configure this to work with github as it has :xeross or something similiar in the url I'm not sure how I should configure it.

If anyone knows please help me out.

Thank you for your time, Xeross

  1. Support Staff 2 Posted by Tekkub on 04 Nov, 2009 03:42 AM

    Tekkub's Avatar

    We don't officially support putty, you might want to try reinstalling msysgit with the default openssh instead. We have a guide for setting up keys with openssh. We also have a guide to working with key passphrases and ssh-agent. You would still have to open git bash and enter your passphrase after a reboot however, but if you're already working in bash that shouldn't be an issue.

    As for the session/path stuff, everything after the "github.com" is the path to the repo, I'm not sure what you're trying to change.

  2. 3 Posted by Xeross on 04 Nov, 2009 06:58 PM

    Xeross's Avatar

    Well I have my own server configured with PuTTY and I can also authenticate on github, when double-clicking my putty session (Which has the key loaded) I get the message as expected (ERROR: Hi xeross! You've successfully authenticated, but GitHub does not provide shell access).

    My GitHub putty session is called GitHub so I would basically need to do something like ssh://GitHub/path/to/something

    Now I'm just wondering what that path should be. what's also confusing is that the github urls use git@github.com:xeross, I now git is the username and github.com is the url but what's the :xeross do, and how can I use that in PuTTY ?

    If you ment with your reply that that's not possible sorry for the mistake, and yes I know how to bypass the passphrase, and I just need to make PageAnt boot.

  3. Support Staff 4 Posted by Tekkub on 04 Nov, 2009 09:18 PM

    Tekkub's Avatar

    git@github.com:user/repo.git and ssh://git@github.com/user/repo.git are essentially the same thing. Everything after the "github.com" is just the path to the repo.

  4. 5 Posted by Xeross on 04 Nov, 2009 09:39 PM

    Xeross's Avatar

    Ah thanks, I didn't do the /user/repo.git just repo.git, now I can probably get it to work, I'll test it tomorrow, thanks for your time.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

25 Nov, 2009 05:57 AM
25 Nov, 2009 01:41 AM
25 Nov, 2009 01:27 AM
24 Nov, 2009 10:56 PM
24 Nov, 2009 10:54 PM