fix(server): Fix SSH fields

Signed-off-by: Myzel394 <github.7a2op@simplelogin.co>
This commit is contained in:
Myzel394 2025-05-04 22:21:20 +02:00
parent b520ada4ed
commit fa45351ec5
No known key found for this signature in database
GPG Key ID: 3B955307C2FC2F11
2 changed files with 27 additions and 21 deletions

View File

@ -83,6 +83,10 @@ See PATTERNS in ssh_config(5) for more information on patterns. This keyword may
},
},
docvalues.ArrayValue{
Separator: " ",
DuplicatesExtractor: nil,
RespectQuotes: true,
SubValue: docvalues.ArrayValue{
Separator: ",",
DuplicatesExtractor: &docvalues.SimpleDuplicatesExtractor,
RespectQuotes: true,
@ -114,6 +118,7 @@ See PATTERNS in ssh_config(5) for more information on patterns. This keyword may
},
},
},
},
"authorizedkeyscommand": {
Documentation: `Specifies a program to be used to look up the user's public keys. The program must be owned by root, not writable by group or others and specified by an absolute path. Arguments to AuthorizedKeysCommand accept the tokens described in the TOKENS section. If no arguments are specified then the username of the target user is used.
The program should produce on standard output zero or more lines of authorized_keys output (see AUTHORIZED_KEYS in sshd(8)). AuthorizedKeysCommand is tried after the usual AuthorizedKeysFile files and will not be executed if a matching key is found there. By default, no AuthorizedKeysCommand is run.`,

View File

@ -8,4 +8,5 @@ var AllowedDuplicateOptions = map[NormalizedOptionName]struct{}{
"listenaddress": {},
"match": {},
"port": {},
"hostkey": {},
}