Re: [git-users] Cache credentials in my terminal session, not for a user account

2018-02-08 Thread Mark Waite
Thanks Tim for that introduction to using ssh-agent as a wrapper for a shell command. I had never seen that technique. Very nice! Mark Waite On Thu, Feb 8, 2018 at 1:29 PM Timothy Rice wrote: > Oops, sorry I didn't notice Mark's response before replying :D > > ~

Re: [git-users] Cache credentials in my terminal session, not for a user account

2018-02-08 Thread Timothy Rice
Hi Maciej, If I understand correctly what you are asking, I think you should be able to use ssh-agent to store your personal ssh authentication in your own shell, without that agent interfering with anyone else's. A fact perhaps not widely known is that if you prefix any command with

Re: [git-users] Cache credentials in my terminal session, not for a user account

2018-02-08 Thread Timothy Rice
Oops, sorry I didn't notice Mark's response before replying :D ~ Tim > If you clone over ssh (ssh://username@hostname/repopath or user@hostname: > repopath), then you can use a passphrase protected private key for that ssh > connection. With a passphrase protected private key, only those who

[git-users] Cache credentials in my terminal session, not for a user account

2018-02-08 Thread Maciej Ł
Hi! How can I cache GIT credentials in scope of a terminal session? My use case is the following. Me and other developers share a single account on a remote Linux machine. In a home directory we share a GIT project with application-specific configuration files. Sometimes we need to pull/push

Re: [git-users] Cache credentials in my terminal session, not for a user account

2018-02-08 Thread Mark Waite
On Thu, Feb 8, 2018 at 3:11 AM Maciej Ł wrote: > Hi! How can I cache GIT credentials in scope of a terminal session? My use > case is the following. Me and other developers share a single account on a > remote Linux machine. In a home directory we share a GIT project with >