Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NBug] SSH key file could not be found #10609

Closed
osltest opened this issue Jan 5, 2023 · 7 comments · Fixed by #10545
Closed

[NBug] SSH key file could not be found #10609

osltest opened this issue Jan 5, 2023 · 7 comments · Fixed by #10545

Comments

@osltest
Copy link

osltest commented Jan 5, 2023

Environment

  • Git Extensions 4.0.1.15887
  • Build f2567de
  • Git 2.39.0.windows.2
  • Microsoft Windows NT 10.0.19044.0
  • .NET 6.0.12
  • DPI 96dpi (no scaling)

Issue description

''

GitUI.NBugReports.UserExternalOperationException: SSH key file could not be found
 ---> System.IO.FileNotFoundException: SSH key file could not be found
   --- End of inner exception stack trace ---
   at GitUI.Infrastructure.PuttyHelpers.ThrowIfFileNotFound(String filePath, String errorMessage, String heading)
   at GitUI.Infrastructure.PuttyHelpers.StartPageantIfConfigured(Func`1 sshKeyFileLoader)
   at GitUI.CommandsDialogs.FormPush.StartPageant(String remote)
   at GitUI.CommandsDialogs.FormPush.PushChanges(IWin32Window owner)
   at GitUI.CommandsDialogs.FormPush.PushClick(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Tried to push a commit, Putty is running and working.

Steps to reproduce

This started after installing the latest version. Since then I cannot push to any remote repositiry, doing a manual "git push" works. I have tried reinstalling Git Extentions but this has no helped.

Did this work in previous version of GitExtensions?

Yes. I don't know the exact version number, but it was 4 something.

Diagnostics

No response

@duplicates-detector-bot
Copy link

Potential duplicates:

  • #8089
  • #8187
  • #8966
  • #9920
  • #10363
  • #10367
  • #10368
  • #10381
  • #10412
  • #10413
  • #10528
  • #10530
  • #10551
  • #10555
  • #10562
  • #10565
  • #10569
  • #10596

@gerhardol
Copy link
Member

gerhardol commented Jan 5, 2023

Duplicate of #10530
Included in upcoming 4.0.2

@psivanov
Copy link

psivanov commented Jan 5, 2023

It's not fixed in 4.0.2.
I get the same error on

  • Git Extensions 4.0.2.15986
  • Build b063d32
  • Git 2.38.1.windows.1
  • Microsoft Windows NT 10.0.17763.0
  • .NET 6.0.12
  • DPI 96dpi (no scaling)
  • Microsoft.WindowsDesktop.App Version

@mstv
Copy link
Member

mstv commented Jan 5, 2023

This is not the 4.0.2 but a development build, which unfortunately does not contain the fix yet - but https://ci.appveyor.com/project/gitextensions/gitextensions/builds/45842693/artifacts do.

@RussKie
Copy link
Member

RussKie commented Jan 6, 2023

It's not fixed in 4.0.2. I get the same error on

  • Git Extensions 4.0.2.15986
  • Build b063d32

This commit is three commits before the fix.

@osltest
Copy link
Author

osltest commented Jan 6, 2023

It's fixed for me with 4.0.2.16028. Thanks!

@VitoMilanese
Copy link

This is not the 4.0.2 but a development build, which unfortunately does not contain the fix yet - but https://ci.appveyor.com/project/gitextensions/gitextensions/builds/45842693/artifacts do.

For me it resolves the problem. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants