mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
change the vps ssh port
This commit is contained in:
parent
45fc55aaa0
commit
9530f26505
|
@ -49,6 +49,8 @@
|
|||
# Enable the OpenSSH daemon.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
# clean up the logs a bit
|
||||
ports = [ 2222 ];
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
|
|
|
@ -17,6 +17,7 @@ in
|
|||
};
|
||||
"rfive.de" = {
|
||||
user = "root";
|
||||
port = 2222;
|
||||
};
|
||||
"kaki" = {
|
||||
hostname = "kaki.ifsr.de";
|
||||
|
|
Loading…
Reference in a new issue