-
Notifications
You must be signed in to change notification settings - Fork 10
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
SSH keys no longer work since the update to 1.69.2.0 #1381
Comments
Here's what I found: https://stackoverflow.com/a/69657512
Here's a topic in the issue tracker of Git-for-windows: git-for-windows/git#3468 Solutions:
|
When I add the following and try to
The error message:
However, after I added that, it works via console:
Unfortunately, it does not work via the fork UI |
Did you update |
Yeah sure :) As I said, it works via the Fork-integrated console (top right), but not via the UI |
I see the same behavior. It does work if in the SSH Key selection dialogue in Fork, no key is selected. It seems that if a key is selected, the |
For people using Bitbucket Server, an update might be the way to go: https://jira.atlassian.com/browse/BSERV-13013 |
I've just released the 1.69.3 update which generates ED25519 keys by default. |
I have regenerated the ssh key and it works. Thanks Dan! |
I am getting Smudge error while downloading assets from LFS :( |
Thank you for that update @DanPristupov. However some services such as Azure DevOps do not support ED25519 yet. This was the first thing I tried when I started getting this error. Could you add an easier way to allow users to opt back into ssh-rsa please? |
@shard013 I didn't know that. We will add the ability to select a type of key in the next update. You can still use existing RSA keys, or the new ones, if you generate them in CLI ( |
@DanPristupov When I have a specific key selected I get the following error. This happens even after setting HostkeyAlgorithms and PubkeyAcceptedAlgorithms in I was able to set this as expected in my |
Same issue as above comment, fixed by disabling the key in Fork. The difference is I'm using the "Git for Windows" instance instead of the internal one. |
I've been having some similar issues with Git-Fork on Windows with SSH when using a SSH Proxy I needed to have my ssh traffic to github go over https, so I set the following in my ~/.ssh/config
All CLI methods of connecting via SSH were working, I even copied the test connection string from the fork.log and ran it in the git-fork mingw instance I opened from the GUI and it ran as expected. Unchecking the key in the (Apologies for any weird phrases: I tried to add the terms I used when searching for the issue in case someone else is having similar trouble and comes across this thread) |
I'm on Windows, version 1.70.0.0 and still cannot get this to work. Git works in the console (Repository -> Open in console) so this has been a workaround for me. I now traced it down to the following. Fork is executing Git with the following environment variable set:
The -F command line parameter causes SSH to ignore all config files. By tracing the process, I have confirmed that SSH is not accessing any config files.
So I believe the -F must go. Reading the config file will also enable having individual keys for different git servers. |
@Pell17 uncheck all SSH keys in the SSH configuration dialog (File -> Configure SSH keys). Otherwise Fork will override the system SSH configuration. |
This works but is quite unintuitive. I would recommend to add this information to the "Configure SSH keys" dialog. |
After the update I could not do anything with repositories cloned via ssh. I also can't clone new repositories with ssh. I recreated the ssh keys but it didn't work.
We use Bitbucket as our git server and have the same issue with multiple collaborators.
The logs:
Workaround:
Use the installed git instance instead of the one from git-fork
![image](https://user-images.githubusercontent.com/34425244/142826840-3c868079-c0f9-4925-aff0-62faf046ee1d.png)
The text was updated successfully, but these errors were encountered: