Config-Model-OpenSsh
view release on metacpan or search on metacpan
lib/Config/Model/models/Ssh.pod view on Meta::CPAN
6667686970717273747576777879808182838485868788no
=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
60616263646566676869707172737475767778798081828384858687default
).',
'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
IPv6 only).Specifies which address family
to
use
when
connecting. Valid arguments are B<any> (the
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
5253545556575859606162636465666768697071727374no
=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
23242526272829303132333435363738394041424344454647
],
'class_description'
=> 'This configuration class was generated from sshd_system documentation.
by L<parse-man.pl|https://github.com/dod38fr/config-model-openssh/contrib/parse-man.pl>
',
'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>
'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
9879889899909919929939949959969979989991000100110021003100410051006B<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
6667686970717273747576777879808182838485868788no
=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
333435363738394041424344454647484950515253
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
175176177178179180181182183184185186187188189190191192193194195of 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
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
9293949596979899100101102103104105106107108109110111<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
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>
<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
262728293031323334353637383940414243444546
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 )