Volume XXII, number 279Tuesday, October 6, 2026Latest message 45 minutes ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

Vagrant + GitBash Issues

3 messages between Jul 16, 2026 and Jul 28, 2026, from Moksh Goyal, Johannes Schindelin.

Plain Markdown or JSON for tools and agents.

Moksh GoyalJul 16, 2026, 16:40 UTC on lore
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 SchindelinJul 28, 2026, 10:22 UTC in reply to Moksh Goyal on lore

Re: Vagrant + GitBash Issues

Hi Moksh,
On Thu, 16 Jul 2026, Moksh Goyal wrote:
Show 10 quoted lines
> 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 SchindelinJul 28, 2026, 10:50 UTC on lore

Re: Vagrant + GitBash Issues

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

Show 26 quoted lines
> 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
> >
> 

Back to recent threads