Move ssh port
This commit is contained in:
parent
e12564358d
commit
f183eee3ac
|
@ -15,6 +15,7 @@
|
||||||
matchBlocks."viridian" = {
|
matchBlocks."viridian" = {
|
||||||
hostname = "192.168.1.102";
|
hostname = "192.168.1.102";
|
||||||
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
||||||
|
port = 62841;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,9 @@
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
|
AllowUsers = [ "sajenim" ];
|
||||||
};
|
};
|
||||||
|
ports = [ 62841 ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue