Skip to content

Enabling SSH server in NixOS and connecting from (Windows) localhost? #112

Locked Answered by nzbr
chriselsner asked this question in Q&A
Discussion options

You must be logged in to vote

The config snippet looks correct; have you executed nixos-rebuild switch? Restarting the WSL VM should not be necessary in most cases

What do you need to have sshd for? If you just want to use vscode, you don't need to use SSH anymore, the regular WSL remote works just as well. I'm asking because I have found that there are better WSL-native solutions for everything I had used SSH in WSL for

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chriselsner
Comment options

@chriselsner
Comment options

@nzbr
Comment options

nzbr Jun 26, 2022
Maintainer

Answer selected by chriselsner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants