hosts: adjust ssh settings

This commit is contained in:
Kabbone 2023-01-21 09:14:05 +01:00
parent 3b54872d0a
commit 381c862e6f
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -93,8 +93,10 @@
services = {
openssh = { # SSH: secure shell (remote connection to shell of server)
enable = true; # local: $ ssh <user>@<ip>
passwordAuthentication = false;
permitRootLogin = "no";
settings = {
passwordAuthentication = false;
permitRootLogin = "no";
};
ports = [ 2220 ];
openFirewall = true;
};