diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-08-16 21:03:06 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-08-16 21:03:06 +0200 |
commit | a42af41049467bf73371b5a5776803e7a26fbd09 (patch) | |
tree | 27e1930d7cb8a14c492775d0f9759e5200d9ccb5 /interface-definitions/ssh.xml | |
parent | f4d941b4d2219d9efb5ef20b3e47d7420076f545 (diff) | |
download | vyos-1x-a42af41049467bf73371b5a5776803e7a26fbd09.tar.gz vyos-1x-a42af41049467bf73371b5a5776803e7a26fbd09.zip |
SSH: improve completion help
Diffstat (limited to 'interface-definitions/ssh.xml')
-rw-r--r-- | interface-definitions/ssh.xml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/interface-definitions/ssh.xml b/interface-definitions/ssh.xml index e8786d202..35fe79214 100644 --- a/interface-definitions/ssh.xml +++ b/interface-definitions/ssh.xml @@ -1,7 +1,5 @@ <?xml version="1.0"?> - <!--SSH configuration --> - <interfaceDefinition> <node name="service"> <children> @@ -13,18 +11,23 @@ <children> <node name="access-control"> <properties> - <help>SSH user/group access controls. Directives are processed in this order: deny-users, allow-users, deny-groups and allow-groups</help> + <help>SSH user/group access controls. Directives are processed + in the following order: deny-users, allow-users, deny-groups and + allow-groups.</help> </properties> <children> <node name="allow"> + <properties> + <help>Allow user/group SSH access</help> + </properties> <children> <leafNode name="group"> <properties> <help>Allow members of a group to login</help> - <constraint> - <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> - </constraint> - <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> + <constraint> + <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> + </constraint> + <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> <multi/> </properties> </leafNode> @@ -41,6 +44,9 @@ </children> </node> <node name="deny"> + <properties> + <help>Deny user/group SSH access</help> + </properties> <children> <leafNode name="group"> <properties> @@ -147,7 +153,7 @@ </leafNode> <leafNode name="mac"> <properties> - <help>Allowed message authentication code (MAC) algorithms</help> + <help>Allowed message authentication code (MAC) algorithms</help> <completionHelp> <script>ssh -Q mac | tr '\n' ' '</script> </completionHelp> |