Use port 23 for ssh

This commit is contained in:
hodasemi 2025-05-22 10:01:45 +02:00
parent 0810ef606c
commit 23737baff3
2 changed files with 6 additions and 3 deletions

View file

@ -58,7 +58,7 @@
{ {
deployment = { deployment = {
targetHost = "157.90.133.118"; targetHost = "157.90.133.118";
targetPort = 22; targetPort = 23;
targetUser = "root"; targetUser = "root";
}; };
imports = [ imports = [
@ -84,7 +84,7 @@
{ {
deployment = { deployment = {
targetHost = "88.99.218.181"; targetHost = "88.99.218.181";
targetPort = 22; targetPort = 23;
targetUser = "root"; targetUser = "root";
}; };
imports = [ imports = [

View file

@ -41,7 +41,10 @@
pkgs.gitMinimal pkgs.gitMinimal
]; ];
services.openssh.enable = true; services.openssh = {
enable = true;
ports = [ 23 ];
};
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBA4Kpx7RN53V3uINjRj1Ow7p8/SkKGOnqHG3BR9tNXU cardno:25_310_930" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBA4Kpx7RN53V3uINjRj1Ow7p8/SkKGOnqHG3BR9tNXU cardno:25_310_930"
# add yours # add yours