Config-Model-OpenSsh

 view release on metacpan or  search on metacpan

lib/Config/Model/models/Ssh.pod  view on Meta::CPAN

66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
no
 
=back
 
 
 
=head2 AddressFamily
 
Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only). I< Optional. Type enum. choice: 'any', 'inet', 'inet6'.  >
 
=over 4
 
=item upstream_default value :
 
any
 
=back

lib/Config/Model/models/Ssh/HostElement.pl  view on Meta::CPAN

60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
default).',
        'type' => 'leaf',
        'upstream_default' => 'no',
        'value_type' => 'enum'
      },
      'AddressFamily',
      {
        'choice' => [
          'any',
          'inet',
          'inet6'
        ],
        'description' => 'Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).',
        'type' => 'leaf',
        'upstream_default' => 'any',
        'value_type' => 'enum'
      },
      'BatchMode',
      {
        'description' => 'If set to B<yes>,
passphrase/password querying will be disabled. In addition,
the B<ServerAliveInterval> option will be set to 300

lib/Config/Model/models/Ssh/HostElement.pod  view on Meta::CPAN

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
no
 
=back
 
 
 
=head2 AddressFamily
 
Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only). I< Optional. Type enum. choice: 'any', 'inet', 'inet6'.  >
 
=over 4
 
=item upstream_default value :
 
any
 
=back

lib/Config/Model/models/Sshd.pl  view on Meta::CPAN

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
    ],
    'class_description' => 'This configuration class was generated from sshd_system documentation.
',
    'element' => [
      'AddressFamily',
      {
        'choice' => [
          'any',
          'inet',
          'inet6'
        ],
        'description' => 'B<AddressFamily>Specifies which address family
should be used by L<sshd(8)>. Valid arguments are B<any>
(the default), B<inet> (use IPv4 only), or B<inet6>
(use IPv6 only).',
        'type' => 'leaf',
        'upstream_default' => 'any',
        'value_type' => 'enum'
      },
      'CASignatureAlgorithms',
      {
        'description' => 'B<CASignatureAlgorithms>Specifies which algorithms are
allowed for signing of certificates by certificate
authorities (CAs). The default is:ecdsa-sha2-nistp256.ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,

lib/Config/Model/models/Sshd.pod  view on Meta::CPAN

987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
B<Deprecated> I< Optional. Type uniline.  >
 
=head2 KeyRegenerationInterval
 
B<Deprecated> I< Optional. Type uniline.  >
 
=head2 AddressFamily
 
B<AddressFamily>Specifies which address family
should be used by L<sshd(8)>. Valid arguments are B<any>
(the default), B<inet> (use IPv4 only), or B<inet6>
(use IPv6 only). I< Optional. Type enum. choice: 'any', 'inet', 'inet6'.  >
 
=over 4
 
=item upstream_default value :
 
any
 
=back

lib/Config/Model/models/SystemSsh.pod  view on Meta::CPAN

66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
no
 
=back
 
 
 
=head2 AddressFamily
 
Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only). I< Optional. Type enum. choice: 'any', 'inet', 'inet6'.  >
 
=over 4
 
=item upstream_default value :
 
any
 
=back

xt/parser.t  view on Meta::CPAN

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
    return "type=leaf value_type=boolean write_as=no,yes upstream_default=$_[0]";
};
my $enum = sub ($set,$def = undef) {
    my $str = "type=leaf value_type=enum choice=$set";
    $str .= " upstream_default=$def" if defined $def;
    return $str;
};
 
my %expected_load = (
    AddKeysToAgent => $enum->('yes,confirm,ask,no', 'no'),
    AddressFamily => $enum->('any,inet,inet6', 'any'),
    BatchMode => $boolean->('no'),
    CanonicalizeFallbackLocal => $boolean->('yes'),
    CanonicalizeHostname => $enum->('no,yes,always', 'no'),
    CanonicalizeMaxDots => 'type=leaf value_type=integer upstream_default=1',
    CheckHostIP => $boolean->('yes'),
    ConnectionAttempts => 'type=leaf value_type=integer upstream_default=1',
    ConnectTimeout => 'type=leaf value_type=integer',
    ControlMaster => $enum->('auto,autoask,yes,no,ask', 'no'),
    DynamicForward => 'type=list cargo type=leaf value_type=uniline',
    ExitOnForwardFailure => $boolean->('no'),

xt/ssh_config.html  view on Meta::CPAN

175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
of the key must be confirmed, as if the <b>-c</b> option was
specified to ssh-add(1). If this option is set to <b>no</b>,
no keys are added to the agent. The argument must be
<b>yes</b>, <b>confirm</b>, <b>ask</b>, or <b>no</b> (the
default).</p>
 
<p style="margin-top: 1em"><b>AddressFamily</b></p>
 
<p style="margin-left:17%;">Specifies which address family
to use when connecting. Valid arguments are <b>any</b> (the
default), <b>inet</b> (use IPv4 only), or <b>inet6</b> (use
IPv6 only).</p>
 
<p style="margin-top: 1em"><b>BatchMode</b></p>
 
<p style="margin-left:17%;">If set to <b>yes</b>,
passphrase/password querying will be disabled. In addition,
the <b>ServerAliveInterval</b> option will be set to 300
seconds by default (Debian-specific). This option is useful
in scripts and other batch jobs where no user is present to
supply the password, and where it is desirable to detect a

xt/sshd_config.html  view on Meta::CPAN

92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<b>AcceptEnv</b> directives. Be warned that some environment
variables could be used to bypass restricted user
environments. For this reason, care should be taken in the
use of this directive. The default is not to accept any
environment variables.</p>
 
<p style="margin-top: 1em"><b>AddressFamily</b></p>
 
<p style="margin-left:17%;">Specifies which address family
should be used by sshd(8). Valid arguments are <b>any</b>
(the default), <b>inet</b> (use IPv4 only), or <b>inet6</b>
(use IPv6 only).</p>
 
<p style="margin-top: 1em"><b>AllowAgentForwarding</b></p>
 
<p style="margin-left:17%;">Specifies whether ssh-agent(1)
forwarding is permitted. The default is <b>yes</b>. Note
that disabling agent forwarding does not improve security
unless users are also denied shell access, as they can
always install their own forwarders.</p>

xt/sshd_parser.t  view on Meta::CPAN

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
    return "type=leaf value_type=boolean write_as=no,yes upstream_default=$_[0]";
};
my $enum = sub ($set,$def = undef) {
    my $str = "type=leaf value_type=enum choice=$set";
    $str .= " upstream_default=$def" if defined $def;
    return $str;
};
 
my %expected_load = (
    # AddKeysToAgent => $enum->('yes,confirm,ask,no', 'no'),
    AddressFamily => $enum->('any,inet,inet6', 'any'),
    AllowStreamLocalForwarding => $enum->('yes,all,no,local,remote','yes'),
    AllowGroups => 'type=list cargo type=leaf value_type=uniline',
    AllowUsers => 'type=list cargo type=leaf value_type=uniline',
    AuthorizedKeysFile => 'type=list cargo type=leaf value_type=uniline',
    MaxStartups => 'type=leaf value_type=uniline upstream_default=10',
    X11Forwarding => $boolean->('no'),
);
 
foreach my $p (@unilines) {
    $expected_load{$p} = 'type=leaf value_type=uniline';



( run in 0.416 second using v1.01-cache-2.11-cpan-74e6d1fb12f )