-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Harald Hoyer <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,18 @@ | |
"${toString modulesPath}/profiles/qemu-guest.nix" | ||
]; | ||
|
||
|
||
# SSH login for debugging | ||
services.sshd.enable = true; | ||
networking.firewall.allowedTCPPorts = [ 22 ]; | ||
services.openssh.settings.PermitRootLogin = lib.mkOverride 999 "yes"; | ||
users.users.root.openssh.authorizedKeys.keys = [ | ||
/* | ||
# SSH login for debugging | ||
services.sshd.enable = true; | ||
networking.firewall.allowedTCPPorts = [ 22 ]; | ||
services.openssh.settings.PermitRootLogin = lib.mkOverride 999 "yes"; | ||
users.users.root.openssh.authorizedKeys.keys = [ | ||
"[email protected] AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo=" | ||
"[email protected] AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg==" | ||
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAYbUTKpy4QR3s944/hjJ1UK05asFEs/SmWeUbtS0cdA660sT4xHnRfals73FicOoz+uIucJCwn/SCM804j+wtM=" | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNsmP15vH8BVKo7bdvIiiEjiQboPGcRPqJK0+bH4jKD" | ||
]; | ||
]; | ||
*/ | ||
|
||
# the container might want to listen on ports | ||
networking.firewall.enable = true; | ||
|