2021-12-28 22:06:26 +00:00
|
|
|
{ ... }: {
|
2021-12-28 23:10:59 +00:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
challengeResponseAuthentication = false;
|
|
|
|
permitRootLogin = "prohibit-password";
|
|
|
|
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
|
|
|
extraConfig = ''
|
|
|
|
StreamLocalBindUnlink yes
|
|
|
|
LogLevel VERBOSE
|
|
|
|
'';
|
|
|
|
};
|
2021-12-28 22:06:26 +00:00
|
|
|
programs.mosh.enable = true;
|
|
|
|
}
|