Config-Model-OpenSsh

 view release on metacpan or  search on metacpan

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

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

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

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

    ],
    '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>
(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

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

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

        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

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

<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

        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';

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.898 second using v1.00-cache-2.02-grep-82fe00e-cpan-b63e86051f13 )