# Vagrant + GitBash Issues

3 messages from 2026-07-16 to 2026-07-28. Participants: Moksh Goyal, Johannes Schindelin.
Thread: https://gitlist.dev/t/66021

## Moksh Goyal, 2026-07-16 16:40

Subject: Vagrant + GitBash Issues
Message-ID: <CAPpxU0jSK52Z+dtK94Ca85j4B6mKWfqypVthaVUVMT4+ur944A@mail.gmail.com>

```
Hi Team,

I am currently using Vagrant and logging into my virtual machine via SSH. I
have encountered an issue where pressing Ctrl+C terminates my SSH session
entirely instead of just force-stopping the active command.

This setup works correctly when using PowerShell, but the issue
consistently occurs when using Git Bash.

Do you have any suggestions on how to resolve this?

Best regards,
Moksh Goyal

```

## Johannes Schindelin, 2026-07-28 10:22

Subject: Re: Vagrant + GitBash Issues
Message-ID: <10584b07-143e-f612-f6d1-6787441a333d@gmx.de>
In-Reply-To: <CAPpxU0jSK52Z+dtK94Ca85j4B6mKWfqypVthaVUVMT4+ur944A@mail.gmail.com>

```
Hi Moksh,

On Thu, 16 Jul 2026, Moksh Goyal wrote:

> Hi Team,
> 
> I am currently using Vagrant and logging into my virtual machine via SSH. I
> have encountered an issue where pressing Ctrl+C terminates my SSH session
> entirely instead of just force-stopping the active command.
> 
> This setup works correctly when using PowerShell, but the issue
> consistently occurs when using Git Bash.
> 
> Do you have any suggestions on how to resolve this?

That sounds like https://github.com/git-for-windows/git/issues/3716. Are
you maybe on a very old version of Git for Windows?

Ciao,
Johannes

```

## Johannes Schindelin, 2026-07-28 10:50

Subject: Re: Vagrant + GitBash Issues
Message-ID: <50a74068-d78f-92e1-c259-bd5bf0a89db2@gmail.com>
In-Reply-To: <CAPpxU0jjdJu1nssu9vuG9NeyqYFQ_Fu87sVsG0aiRm2qdCXsXw@mail.gmail.com>

```
Hi Moksh,

[re-Cc:ing the Git mailing list because I would otherwise feel treated
like unpaid tech support]

On Tue, 28 Jul 2026, Moksh Goyal wrote:

> Thank you for the response. I am currently using the latest version of Git
> for Windows (version 2.55.0.windows.3), but the problem still persists.
> 
> Do you have any other suggestions on how to resolve this?

You could install the native OpenSSH:
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
and then reinstall Git for Windows, opting out of the bundled SSH.

Ciao,
Johannes

> On Tue, 28 Jul, 2026, 3:52 pm Johannes Schindelin, <
> Johannes.Schindelin@gmx.de> wrote:
> 
> > Hi Moksh,
> >
> > On Thu, 16 Jul 2026, Moksh Goyal wrote:
> >
> > > Hi Team,
> > >
> > > I am currently using Vagrant and logging into my virtual machine via
> > SSH. I
> > > have encountered an issue where pressing Ctrl+C terminates my SSH session
> > > entirely instead of just force-stopping the active command.
> > >
> > > This setup works correctly when using PowerShell, but the issue
> > > consistently occurs when using Git Bash.
> > >
> > > Do you have any suggestions on how to resolve this?
> >
> > That sounds like https://github.com/git-for-windows/git/issues/3716. Are
> > you maybe on a very old version of Git for Windows?
> >
> > Ciao,
> > Johannes
> >
> 

```
