-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
SSHD doesn't work. #26776
Comments
And why is it wrong? It's even documented: http://nixos.org/nixos/manual/#sec-installation (7.) |
The actual problem here is this line, so @MrSorcus adding the following line in your configuration should fix that:
For the installer image it makes sense to remove |
To be clear, I meant the fact that you have to start sshd manually on an installation system. I can see nothing wrong about that. (Perhaps I misunderstood.) |
@vcunat: No, I was wrong about that, I only read point 7 regarding setting the root passwd. |
This example should work: https://github.com/nixos-users/wiki/wiki/Installation-guide#build-a-custom-installation-image |
The warnings when using |
@Mic92 , maybe not a bug, but an error.
|
@aszlig , thank you. |
Close as answered? |
I don't know. |
Probably not. |
https://nixos.wiki/wiki/Creating_a_NixOS_live_CD works flawlessly. |
A fix for this is in progress at #63773. |
Steps to reproduce
1:
cat ./custom.nix
2:
nix-build -A config.system.build.isoImage -I nixos-config=./custom.nix ./default.nix
3:
Create virtual machine and run with nixos iso. SSH Daemon doesn't work. It's loaded, but not active.
4:
But it's working with
services.openssh.startWhenNeeded = true;
... and show this warnings:Technical details
The text was updated successfully, but these errors were encountered: