-
Notifications
You must be signed in to change notification settings - Fork 822
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
[wsl2] can't use ssh #4208
Comments
Might be #4199 related. But probably (?) not. There isn't enough in the OP to tell definitively. You can get that Only way to tell conclusively would be set up your keys again and see if that fixes the problem. Which isn't really a WSL question, ever shifting client IP address or not. Not to diminish the other issue. [N.b. I retired from diving |
because of this annoying bug, I decide not use the ssh client of wsl distro, but use OpenSSH in |
Well let's be clear - no. No bug has been identified here. But happy to hear you are unblocked. |
not a bug? Is this a feature? |
Because that paragraph has nothing to do with your OP. Git push to github works in WSL2 regardless of whether "you will need to access any Linux server from Windows using the IP address of your Linux distro".
The word "identified" is important here. That you cannot push to Github does not identify a bug. Indeed, the scope for bugs has shrunken considerably in WSL2 (vs. WSL1) because you'd have to conclude you found something new and novel wrong with either (a) Hyper-V or (b) the Linux kernel. The reason for your " |
Thank you for let me know how to identify a bug in wsl. |
Encountered the same issue at WSL2, but after digging further I have a workaround here. Update: I looked up the journals of ssh.service on the other side and got the following message: Update: New issue opened. For details see #5244. Now I know that the issue should be blamed to the too-large preauth string, and explicitly config ciphers might be a workaround. |
@CamberLoid Open a new issue might help since this one has been closed for a long time. |
I just upgraded to WSL2 along with latest Windows 10, 2020 and I cannot ssh to any of our servers now. I have to go to the cmd or powershell it's a bummer. I was excited about WSL2. |
I have to add |
I can not use ssh in wsl2. I have to change it back to wsl 1. |
I also encountered this issue in wsl2, its a annoying bug. |
Just installed WSL2, and I also can't SSH to any of my servers. Rolling back to WSL1 |
I'm also facing this issue. Any fix since then? |
same |
Hi all, i've found the solution here
|
in wsl2 when I use ssh to login a remote server, the connection closed immediately.
I change the distro to v1, the connection can establish.
when use git (with ssh-key) to push file to github, it fail too. it says:
Received disconnect from 13.250.177.223 port 22:11: Bye Bye Disconnected from 13.250.177.223 port 22 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The text was updated successfully, but these errors were encountered: