2023-10-27 23:02:52 -05:00
|
|
|
{ ... }:
|
2023-10-27 01:46:14 -05:00
|
|
|
{
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2023-10-27 23:02:52 -05:00
|
|
|
PasswordAuthentication = false;
|
2023-10-27 01:46:14 -05:00
|
|
|
PermitRootLogin = "prohibit-password";
|
2023-10-28 00:34:31 -05:00
|
|
|
KexAlgorithms = [
|
|
|
|
"curve25519-sha256"
|
|
|
|
"curve25519-sha256@libssh.org"
|
|
|
|
"diffie-hellman-group16-sha512"
|
|
|
|
"diffie-hellman-group18-sha512"
|
|
|
|
"sntrup761x25519-sha512@openssh.com"
|
|
|
|
];
|
2023-10-27 01:46:14 -05:00
|
|
|
};
|
|
|
|
ports = [
|
|
|
|
2200
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|