org: add 2222 ssh port
This commit is contained in:
parent
db5c4008b8
commit
e00e55460c
1 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,10 @@
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.settings.PasswordAuthentication = false;
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
|
services.openssh.ports = [ 22 2222 ];
|
||||||
|
|
||||||
# Open ports in the firewall. (In fact not needed)
|
# Open ports in the firewall. (In fact not needed)
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 2222 ];
|
||||||
|
|
||||||
# Mosh <3
|
# Mosh <3
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue