mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 07:59:43 +00:00
feat(vps): enable Tailscale SSH
- Remove port 22 from firewall - Add --ssh to tailscale up flags
This commit is contained in:
parent
2c642a7e32
commit
89d86413dd
3 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = false;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "prohibit-password";
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
authKeyFile = config.sops.secrets."tailscale/authkey".path;
|
||||
useRoutingFeatures = "both";
|
||||
permitCertUid = "caddy";
|
||||
extraUpFlags = [ "--ssh" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue