# feature-request: silently stops ssh-agent.exe when upgrading (windows)

6 messages from 2022-12-15 to 2022-12-22. Participants: Jean-Michel MERCIER, brian m. carlson, Bagas Sanjaya, Eric Sunshine.
Thread: https://gitlist.dev/t/58955

## Jean-Michel MERCIER, 2022-12-15 08:38

Subject: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <CAOLx1BgQinzZBkHvvmDrGUedEyQa_7ZVsyVGmWjF4gYhxc3P+w@mail.gmail.com>
URL: https://gitlist.dev/e/CAOLx1BgQinzZBkHvvmDrGUedEyQa_7ZVsyVGmWjF4gYhxc3P%2Bw%40mail.gmail.com

```
Hello

I've looked in the public-inbox archive without finding any similar request.

I believe it is a bit annoying that upgrading git-scm always generates
an error when ssh-agent.exe is still running. User than have to open
the Task Manager, find the task and kill it.

Could you consider silently stopping ssh-agent during an upgrade, and
may be restarting it afterward ?
Most installer do that or at least offer the user to do it to allow
seamless upgrading.

Thanks for considering.

All the best and good end of the year.

Best regards

Jean-Michel

```

## brian m. carlson, 2022-12-16 00:42

Subject: Re: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <Y5u/E04V0QWQTDhu@tapette.crustytoothpaste.net>
URL: https://gitlist.dev/e/Y5u%2FE04V0QWQTDhu%40tapette.crustytoothpaste.net
In-Reply-To: <CAOLx1BgQinzZBkHvvmDrGUedEyQa_7ZVsyVGmWjF4gYhxc3P+w@mail.gmail.com>

```
On 2022-12-15 at 08:38:01, Jean-Michel MERCIER wrote:
> Hello

Hey,

> I've looked in the public-inbox archive without finding any similar request.
> 
> I believe it is a bit annoying that upgrading git-scm always generates
> an error when ssh-agent.exe is still running. User than have to open
> the Task Manager, find the task and kill it.
> 
> Could you consider silently stopping ssh-agent during an upgrade, and
> may be restarting it afterward ?
> Most installer do that or at least offer the user to do it to allow
> seamless upgrading.

The Git project doesn't distribute any binaries at all, and it doesn't
distribute OpenSSH.   It distributes source code for Git, and that's
all.

It sounds like you're using Git for Windows, which does distribute
binaries, both of Git and OpenSSH.  If you have feedback for them,
you'll probably want to use their issue tracker
(https://github.com/git-for-windows/git/issues) and, if it hasn't
already been reported, you can request a change there.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

```

## Jean-Michel MERCIER, 2022-12-16 07:53

Subject: Re: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <CAOLx1Biwd9KzqipoEPaw0M2AecW7XfuyvNeVW4F59e696gMt-Q@mail.gmail.com>
URL: https://gitlist.dev/e/CAOLx1Biwd9KzqipoEPaw0M2AecW7XfuyvNeVW4F59e696gMt-Q%40mail.gmail.com
In-Reply-To: <Y5u/E04V0QWQTDhu@tapette.crustytoothpaste.net>

```
Hi Brian

Many thanks for pointing me in the right direction.
Sorry for bothering

Keep the great work and have a great end of year time

Cheers

Jean-Michel

On Fri, Dec 16, 2022 at 1:43 AM brian m. carlson
<sandals@crustytoothpaste.net> wrote:
>
> On 2022-12-15 at 08:38:01, Jean-Michel MERCIER wrote:
> > Hello
>
> Hey,
>
> > I've looked in the public-inbox archive without finding any similar request.
> >
> > I believe it is a bit annoying that upgrading git-scm always generates
> > an error when ssh-agent.exe is still running. User than have to open
> > the Task Manager, find the task and kill it.
> >
> > Could you consider silently stopping ssh-agent during an upgrade, and
> > may be restarting it afterward ?
> > Most installer do that or at least offer the user to do it to allow
> > seamless upgrading.
>
> The Git project doesn't distribute any binaries at all, and it doesn't
> distribute OpenSSH.   It distributes source code for Git, and that's
> all.
>
> It sounds like you're using Git for Windows, which does distribute
> binaries, both of Git and OpenSSH.  If you have feedback for them,
> you'll probably want to use their issue tracker
> (https://github.com/git-for-windows/git/issues) and, if it hasn't
> already been reported, you can request a change there.
> --
> brian m. carlson (he/him or they/them)
> Toronto, Ontario, CA

```

## Jean-Michel MERCIER, 2022-12-21 15:58

Subject: Re: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <CAOLx1BibKcxrPp3fyUbGXM-d_JZKot_MLznB9EXF3CkVKkHtZA@mail.gmail.com>
URL: https://gitlist.dev/e/CAOLx1BibKcxrPp3fyUbGXM-d_JZKot_MLznB9EXF3CkVKkHtZA%40mail.gmail.com
In-Reply-To: <CAOLx1Bi189tdo1Yn7njv9BjMzjuVOT8MSZH-bx8o-nS6gQpQTg@mail.gmail.com>

```
Hi everyone

Just for the record in the archive if anyone is finding this thread:
It has been handled :
https://github.com/git-for-windows/git/issues/4172
https://github.com/git-for-windows/build-extra/pull/453

Thanks

Jean-Michel

> On Fri, Dec 16, 2022 at 8:53 AM Jean-Michel MERCIER <jeanmichel.mercier@newsbridge.io> wrote:
>>
>> Hi Brian
>>
>> Many thanks for pointing me in the right direction.
>> Sorry for bothering
>>
>> Keep the great work and have a great end of year time
>>
>> Cheers
>>
>> Jean-Michel
>>
>> On Fri, Dec 16, 2022 at 1:43 AM brian m. carlson
>> <sandals@crustytoothpaste.net> wrote:
>> >
>> > On 2022-12-15 at 08:38:01, Jean-Michel MERCIER wrote:
>> > > Hello
>> >
>> > Hey,
>> >
>> > > I've looked in the public-inbox archive without finding any similar request.
>> > >
>> > > I believe it is a bit annoying that upgrading git-scm always generates
>> > > an error when ssh-agent.exe is still running. User than have to open
>> > > the Task Manager, find the task and kill it.
>> > >
>> > > Could you consider silently stopping ssh-agent during an upgrade, and
>> > > may be restarting it afterward ?
>> > > Most installer do that or at least offer the user to do it to allow
>> > > seamless upgrading.
>> >
>> > The Git project doesn't distribute any binaries at all, and it doesn't
>> > distribute OpenSSH.   It distributes source code for Git, and that's
>> > all.
>> >
>> > It sounds like you're using Git for Windows, which does distribute
>> > binaries, both of Git and OpenSSH.  If you have feedback for them,
>> > you'll probably want to use their issue tracker
>> > (https://github.com/git-for-windows/git/issues) and, if it hasn't
>> > already been reported, you can request a change there.
>> > --
>> > brian m. carlson (he/him or they/them)
>> > Toronto, Ontario, CA

```

## Bagas Sanjaya, 2022-12-22 02:45

Subject: Re: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <cb56a570-d555-699d-b699-6bf23e63193a@gmail.com>
URL: https://gitlist.dev/e/cb56a570-d555-699d-b699-6bf23e63193a%40gmail.com
In-Reply-To: <CAOLx1BibKcxrPp3fyUbGXM-d_JZKot_MLznB9EXF3CkVKkHtZA@mail.gmail.com>

```
On 12/21/22 22:58, Jean-Michel MERCIER wrote:
> Hi everyone
> 
> Just for the record in the archive if anyone is finding this thread:
> It has been handled :
> https://github.com/git-for-windows/git/issues/4172
> https://github.com/git-for-windows/build-extra/pull/453
> 

OK, but please don't top-post here; reply inline with appropriate
context instead. The context has been deleted, though.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara


```

## Eric Sunshine, 2022-12-22 05:19

Subject: Re: feature-request: silently stops ssh-agent.exe when upgrading (windows)
Message-ID: <CAPig+cT=emSXkHhH8XkfiKF3yKQy4px2jkfq1pPsNFkw5N_N-g@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcT%3DemSXkHhH8XkfiKF3yKQy4px2jkfq1pPsNFkw5N_N-g%40mail.gmail.com
In-Reply-To: <CAOLx1BibKcxrPp3fyUbGXM-d_JZKot_MLznB9EXF3CkVKkHtZA@mail.gmail.com>

```
On Wed, Dec 21, 2022 at 11:01 AM Jean-Michel MERCIER
<jeanmichel.mercier@newsbridge.io> wrote:
> Just for the record in the archive if anyone is finding this thread:
> It has been handled :
> https://github.com/git-for-windows/git/issues/4172
> https://github.com/git-for-windows/build-extra/pull/453

Thanks for taking the "health" on the mailing list into account. Such
follow-ups are appreciated.

```
