You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to push to a repository without verifying its identity, Lazygit becomes unresponsive and does not show an error or prompt to accept the SSH host verification. Lazygit does not respond to the prompt about connecting to a new host identity and remains stuck.
To Reproduce
Steps to reproduce the behavior:
Delete key record from ~/.ssh/known_hosts
Open Lazygit.
Attempt to push to a GitHub repository (or any repository) for the first time, without the host identity being pre-verified.
Lazygit fails to display the expected SSH prompt, which should ask to verify the authenticity of the host.
Expected behavior
Lazygit should display the SSH prompt, asking if the user wants to connect to the unknown host, similar to how it appears in a standard terminal, or show an error: The authenticity of host 'github.com (140.82.121.3)' can't be established. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])?
After confirmation, the push should proceed.
Additional context
This issue blocks the user from completing the push operation in Lazygit when attempting to push to a new, previously unrecognized host.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to push to a repository without verifying its identity, Lazygit becomes unresponsive and does not show an error or prompt to accept the SSH host verification. Lazygit does not respond to the prompt about connecting to a new host identity and remains stuck.
To Reproduce
Steps to reproduce the behavior:
~/.ssh/known_hosts
Expected behavior
Lazygit should display the SSH prompt, asking if the user wants to connect to the unknown host, similar to how it appears in a standard terminal, or show an error:
The authenticity of host 'github.com (140.82.121.3)' can't be established. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])?
After confirmation, the push should proceed.
Screenshots
Version info:
commit=e1e4e1be1fb6d0757b2f8590e55aca2738e9f9bd, build date=2024-11-12T06:00:58Z, build source=unknown, version=e1e4e1be, os=darwin, arch=amd64, git version=2.39.5 (Apple Git-154)
git version 2.39.5 (Apple Git-154)
Additional context
This issue blocks the user from completing the push operation in Lazygit when attempting to push to a new, previously unrecognized host.
The text was updated successfully, but these errors were encountered: