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

Tricky windows wsl - diff ip-addr #1

Open
abitofalchemy opened this issue Sep 28, 2024 · 1 comment
Open

Tricky windows wsl - diff ip-addr #1

abitofalchemy opened this issue Sep 28, 2024 · 1 comment

Comments

@abitofalchemy
Copy link

Great post, thank you.
The problem I am running into is: after following your guide I still can't connect to the windows machine running wsl.
I get errors when I try to ping.

I also noticed there is a network ipddr. which is different than the wsl hostname -i ; so two different 'users' and two different ip-addresses.
No errors following your instructions on the Window.wsl side.

Can you confirm that you do endup with two ipaddr one for the machine itself, and one reported by wsl?

@abitofalchemy
Copy link
Author

(base) ➜ .git git:(master) ssh -v wsl
OpenSSH_9.7p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/saguinaga/.ssh/config
debug1: /Users/saguinaga/.ssh/config line 1: Applying options for wsl
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to [] port 2222.

there is a msg that connection is established.

debug1: Connection established.

but after some time, this is what I get:
debug1: Local version string SSH-2.0-OpenSSH_9.7
kex_exchange_identification: Connection closed by remote host
Connection closed by port 2222

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

No branches or pull requests

1 participant