blob: 0ac2d2c6460a6bca54d14a790c5e45ddb205f1bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{ ... }:
with lib;
{
options = {
services.openssh = {
settings.HostKeyAlgorithms = mkOption {
type = types.listOf types.str;
default = [
"ssh-ed25519"
"ssh-ed25519-cert-v01@openssh.com"
"sk-ssh-ed25519@openssh.com"
"sk-ssh-ed25519-cert-v01@openssh.com"
"ecdsa-sha2-nistp256"
"ecdsa-sha2-nistp256-cert-v01@openssh.com"
"ecdsa-sha2-nistp384"
"ecdsa-sha2-nistp384-cert-v01@openssh.com"
"ecdsa-sha2-nistp521"
"ecdsa-sha2-nistp521-cert-v01@openssh.com"
"sk-ecdsa-sha2-nistp256@openssh.com"
"sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"
"webauthn-sk-ecdsa-sha2-nistp256@openssh.com"
"ssh-dss"
"ssh-dss-cert-v01@openssh.com"
"ssh-rsa"
"ssh-rsa-cert-v01@openssh.com"
"rsa-sha2-256"
"rsa-sha2-256-cert-v01@openssh.com"
"rsa-sha2-512"
"rsa-sha2-512-cert-v01@openssh.com"
];
};
settings.CASignatureAlgorithms = mkOption {
type = types.listOf types.str;
default = [
"ssh-ed25519"
"ecdsa-sha2-nistp256"
"ecdsa-sha2-nistp384"
"ecdsa-sha2-nistp521"
"sk-ssh-ed25519@openssh.com"
"sk-ecdsa-sha2-nistp256@openssh.com"
"rsa-sha2-512"
"rsa-sha2-256"
];
};
settings.PubkeyAcceptedAlgorithms = mkOption {
type = types.listOf types.str;
default = [
"ssh-ed25519"
"ssh-ed25519-cert-v01@openssh.com"
"sk-ssh-ed25519@openssh.com"
"sk-ssh-ed25519-cert-v01@openssh.com"
"ecdsa-sha2-nistp256"
"ecdsa-sha2-nistp256-cert-v01@openssh.com"
"ecdsa-sha2-nistp384"
"ecdsa-sha2-nistp384-cert-v01@openssh.com"
"ecdsa-sha2-nistp521"
"ecdsa-sha2-nistp521-cert-v01@openssh.com"
"sk-ecdsa-sha2-nistp256@openssh.com"
"sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"
"webauthn-sk-ecdsa-sha2-nistp256@openssh.com"
"ssh-dss"
"ssh-dss-cert-v01@openssh.com"
"ssh-rsa"
"ssh-rsa-cert-v01@openssh.com"
"rsa-sha2-256"
"rsa-sha2-256-cert-v01@openssh.com"
"rsa-sha2-512"
"rsa-sha2-512-cert-v01@openssh.com"
];
};
};
};
}
|