intanto ho settato cosi ssh: services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
PubkeyAuthentication = true;
MaxAuthTries = 3;
ClientAliveInterval = 300;
ClientAliveCountMax = 2;
};
allowSFTP = false;
}; |