Don't enable SSH server by default, add TD-required SSH security options
This commit is contained in:
parent
97adb75efb
commit
2a3d9e9be8
2 changed files with 4 additions and 1 deletions
|
|
@ -221,7 +221,6 @@
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
|
|
|
||||||
|
|
@ -175,6 +175,10 @@
|
||||||
ssh.extraConfig = ''
|
ssh.extraConfig = ''
|
||||||
Host git.service.d11n.nl
|
Host git.service.d11n.nl
|
||||||
Port 258
|
Port 258
|
||||||
|
|
||||||
|
# TODO: Check if we can specify this in an actual config item.
|
||||||
|
VerifyHostKeyDNS yes
|
||||||
|
ForwardAgent no
|
||||||
'';
|
'';
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue