Skip to content

Commit

Permalink
ncm-ssh: extend AllowTcpForwarding to support valid values
Browse files Browse the repository at this point in the history
AllowTcpForwarding in ncm-ssh uses legacy_binary_affirmation_string,
but other options such as "remote" and "local" are valid, so change
schema to support valid values
  • Loading branch information
duncanatwork committed Jul 6, 2024
1 parent 3f9e67d commit 29d9d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncm-ssh/src/main/pan/components/ssh/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type ssh_daemon_options_type = {
"AcceptEnv" ? string[]
"AllowAgentForwarding" ? legacy_binary_affirmation_string
"AllowGroups" ? string
"AllowTcpForwarding" ? legacy_binary_affirmation_string
"AllowTcpForwarding" ? string with match (SELF, '^yes|no|all|local|remote$')
"AllowUsers" ? string
"AuthorizedKeysFile" ? string
"Banner" ? string
Expand Down

0 comments on commit 29d9d0b

Please sign in to comment.