mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
flake update
This commit is contained in:
parent
b1a3326f37
commit
5edafc2664
2 changed files with 30 additions and 30 deletions
|
|
@ -18,15 +18,15 @@ with lib;
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
ports = lib.mkDefault [ 62954 ];
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
permitRootLogin = lib.mkDefault "prohibit-password";
|
||||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
extraConfig = ''
|
||||
PubkeyAcceptedAlgorithms +ssh-rsa
|
||||
StreamLocalBindUnlink yes
|
||||
LogLevel VERBOSE
|
||||
'';
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = lib.mkDefault "prohibit-password";
|
||||
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
PubkeyAcceptedAlgorithms = "+ssh-rsa";
|
||||
StreamLocalBindUnlink = "yes";
|
||||
LogLevel = "VERBOSE";
|
||||
};
|
||||
};
|
||||
|
||||
programs.mosh.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue