Enable sshd on desktop
This commit is contained in:
parent
03b35dea36
commit
374d74b0e0
1 changed files with 15 additions and 0 deletions
|
|
@ -50,6 +50,21 @@
|
|||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
listenAddresses = [
|
||||
{
|
||||
# Tailscale interface
|
||||
addr = "100.71.79.119";
|
||||
port = 22;
|
||||
}
|
||||
];
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
../../ssh_keys/phfroidmont-laptop.pub
|
||||
];
|
||||
|
||||
# Allow to externally control MPD
|
||||
networking.firewall.allowedTCPPorts = [ 6600 ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue