Thanks All!
From: Darrel Conway [mailto:[email protected]]
Sent: Tuesday, February 28, 2017 5:29 PM
To: Cooley, D S. (GSFC-5950) <[email protected]>; Parker, Joel J. K.
(GSFC-5950) <[email protected]>; Carpenter, Russell (GSFC-4440)
<[email protected]>; [email protected];
[email protected]; Ravi Mathur
([email protected]) <[email protected]>
Subject: Re: [gmat-nav] Git question
Here's a more wordy explanation:
I set up SSH (Secure SHell) keys for each machine out here, using the Linux
utility "ssh-keygen". (On Windows, PUTTY has a similar utility, I think.)
That creates 2 files: a public key file, and a private key that works with it
and that gets places in my .ssh folder in my user account folder (on all
platforms, that location is the same). The public key is then added to the
systems that I connect to. I set it up for both remote login ("ssh-add" on
Linux)) and for git usage (procedure described below). Then, when I try to
login or perform git operations, there is a handshake that occurs, managed by
the ssh service, to validate the public key against my private key. If the
validation passes, I have the requested access.
Out here, I have my git server managed using a tool called gitolite. When I
need to add repo access to a new machine, all I need to do is add the public
key file to the correct folder in the gitolite repository, and the magic
happens. (There is a separate file where I specify access rights on a
repository by repository -- and potentially branch by branch -- level.) I
think the process is similar for raw ssh access to git -- add your public key
to the appropriate folder -- but I haven't tried it without the gitolite
intermediary.
- DJC
On 02/28/2017 02:59 PM, Cooley, D S. (GSFC-5950) wrote:
Not sure what a “shared key” is. If I google it, will I be able to figure out
how to do it myself? Thanks,
Steve
From: Darrel Conway [mailto:[email protected]]
Sent: Tuesday, February 28, 2017 4:39 PM
To: Parker, Joel J. K. (GSFC-5950)
<[email protected]><mailto:[email protected]>; Carpenter, Russell
(GSFC-4440) <[email protected]><mailto:[email protected]>;
Cooley, D S. (GSFC-5950) <[email protected]><mailto:[email protected]>;
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>;
Ravi Mathur
([email protected]<mailto:[email protected]>)
<[email protected]><mailto:[email protected]>
Subject: Re: [gmat-nav] Git question
That's what I do out here as well -- haven't set it up for my account on
mesajade, though, because there is enough VPN hoop jumping that I haven't
bothered to try putting my keys there.
On 02/28/2017 01:19 PM, Parker, Joel J. K. (GSFC-5950) wrote:
If you’re using a server you can log into with SSH, you can set up a shared
key. That’s how I do it – no passwords in sight!
You can do that with GitLab too.
JP
From: "Carpenter, Russell (GSFC-4440)"
<[email protected]><mailto:[email protected]>
Date: Tuesday, February 28, 2017 at 2:32 PM
To: D Cooley <[email protected]><mailto:[email protected]>,
"[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>,
"[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>,
Ravi Mathur
<[email protected]><mailto:[email protected]>
Cc: Joel Parker <[email protected]><mailto:[email protected]>
Subject: Re: [gmat-nav] Git question
If you use a client like SourceTree it will do that. For “bare” command-line
git, I’m not sure it’s possible.
Russell Carpenter
Deputy Project Manager/Technical
Space Science Mission Operations
Code 444
NASA/Goddard Space Flight Center
Greenbelt, MD 20771
From: <[email protected]><mailto:[email protected]>
on behalf of Steven Cooley <[email protected]><mailto:[email protected]>
Date: Tuesday, February 28, 2017 at 2:03 PM
To: "[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>,
"[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>,
"Ravi Mathur
([email protected]<mailto:[email protected]>)"
<[email protected]><mailto:[email protected]>
Cc: "Parker, Joel J. K. (GSFC-5950)"
<[email protected]><mailto:[email protected]>
Subject: [gmat-nav] Git question
Hi All,
Does anyone know how to make GIT remember your logon and password info?
I looked around and coudnt figure it out.
Thanks,
Steve
--
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com<http://www.thinksysinc.com>
Cell: (520) 425-3626 [email protected]<mailto:[email protected]>
--
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com<http://www.thinksysinc.com>
Cell: (520) 425-3626 [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gmat-buildtest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest