Use port 23 for ssh
This commit is contained in:
parent
0810ef606c
commit
23737baff3
2 changed files with 6 additions and 3 deletions
|
@ -58,7 +58,7 @@
|
|||
{
|
||||
deployment = {
|
||||
targetHost = "157.90.133.118";
|
||||
targetPort = 22;
|
||||
targetPort = 23;
|
||||
targetUser = "root";
|
||||
};
|
||||
imports = [
|
||||
|
@ -84,7 +84,7 @@
|
|||
{
|
||||
deployment = {
|
||||
targetHost = "88.99.218.181";
|
||||
targetPort = 22;
|
||||
targetPort = 23;
|
||||
targetUser = "root";
|
||||
};
|
||||
imports = [
|
||||
|
|
|
@ -41,7 +41,10 @@
|
|||
pkgs.gitMinimal
|
||||
];
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 23 ];
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBA4Kpx7RN53V3uINjRj1Ow7p8/SkKGOnqHG3BR9tNXU cardno:25_310_930"
|
||||
# add yours
|
||||
|
|
Loading…
Reference in a new issue