-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sshd_config): Only show allowed completions inside a Match block
- Loading branch information
Showing
4 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package fields | ||
|
||
var MatchAllowedOptions = map[string]struct{}{ | ||
"AcceptEnv": {}, | ||
"AllowAgentForwarding": {}, | ||
"AllowGroups": {}, | ||
"AllowStreamLocalForwarding": {}, | ||
"AllowTcpForwarding": {}, | ||
"AllowUsers": {}, | ||
"AuthenticationMethods": {}, | ||
"AuthorizedKeysCommand": {}, | ||
"AuthorizedKeysCommandUser": {}, | ||
"AuthorizedKeysFile": {}, | ||
"AuthorizedPrincipalsCommand": {}, | ||
"AuthorizedPrincipalsCommandUser": {}, | ||
"AuthorizedPrincipalsFile": {}, | ||
"Banner": {}, | ||
"CASignatureAlgorithms": {}, | ||
"ChannelTimeout": {}, | ||
"ChrootDirectory": {}, | ||
"ClientAliveCountMax": {}, | ||
"ClientAliveInterval": {}, | ||
"DenyGroups": {}, | ||
"DenyUsers": {}, | ||
"DisableForwarding": {}, | ||
"ExposeAuthInfo": {}, | ||
"ForceCommand": {}, | ||
"GatewayPorts": {}, | ||
"GSSAPIAuthentication": {}, | ||
"HostbasedAcceptedAlgorithms": {}, | ||
"HostbasedAuthentication": {}, | ||
"HostbasedUsesNameFromPacketOnly": {}, | ||
"IgnoreRhosts": {}, | ||
"Include": {}, | ||
"IPQoS": {}, | ||
"KbdInteractiveAuthentication": {}, | ||
"KerberosAuthentication": {}, | ||
"LogLevel": {}, | ||
"MaxAuthTries": {}, | ||
"MaxSessions": {}, | ||
"PasswordAuthentication": {}, | ||
"PermitEmptyPasswords": {}, | ||
"PermitListen": {}, | ||
"PermitOpen": {}, | ||
"PermitRootLogin": {}, | ||
"PermitTTY": {}, | ||
"PermitTunnel": {}, | ||
"PermitUserRC": {}, | ||
"PubkeyAcceptedAlgorithms": {}, | ||
"PubkeyAuthentication": {}, | ||
"PubkeyAuthOptions": {}, | ||
"RekeyLimit": {}, | ||
"RevokedKeys": {}, | ||
"RDomain": {}, | ||
"SetEnv": {}, | ||
"StreamLocalBindMask": {}, | ||
"StreamLocalBindUnlink": {}, | ||
"TrustedUserCAKeys": {}, | ||
"UnusedConnectionTimeout": {}, | ||
"X11DisplayOffset": {}, | ||
"X11Forwarding": {}, | ||
"X11UseLocalhos": {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters