[go: up one dir, main page]

File: valid_options.py

package info (click to toggle)
sshpubkeys 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 260 kB
  • sloc: python: 1,041; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (2)
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
options = [
    ["empty_options", "", {}],
    ["single_basic", "no-user-rc", {
        "no-user-rc": [True]
    }],
    [
        "single_quoted", 'from="*.sales.example.net,!pc.sales.example.net"', {
            'from': ['*.sales.example.net,!pc.sales.example.net']
        }
    ],
    ["equals_in_quotes", 'environment="NAME=value"', {
        'environment': ['NAME=value']
    }],
    [
        "multiple_quoted", 'environment="NAME=value",from="*.sales.example.net"', {
            'environment': ['NAME=value'],
            'from': ['*.sales.example.net']
        }
    ],
    [
        "multiple_options_combined", 'permitopen="host:port",port-forwarding,no-port-forwarding', {
            'no-port-forwarding': [True],
            'port-forwarding': [True],
            'permitopen': ['host:port']
        }
    ],
]