openssh_key.key_params.cert.CertExtension¶
- class openssh_key.key_params.cert.CertExtension(value)¶
Bases:
openssh_key.key_params.cert.CertOptionAn option that the validator may process if recognised.
- __init__()¶
Attributes
If present, the private key does not require the user to touch it (equivalent to executing
ssh-keygenwith-O no-touch-required).If present, allows the user to enable X11 forwarding by specifying the
-Xoption tosshor theForwardX11option inssh_config.If present, allows the user to enable agent forwarding by specifying the
-Aoption tosshor theForwardAgentoption inssh_config.If present, allows the user to enable local or remote port forwarding by specifying the
-D,-L, or-Roptions tosshor theDynamicForward,LocalForward, orRemoteForwardoptions inssh_config.If present, allows the user to request a pseudo-TTY by specifying the
-toption tosshor theRequestTTYoption inssh_config.If present, runs the user's
~/.ssh/rc, if it exists, once the user is authenticated; equivalent to setting thePermitUserRCoption insshd_config.- NO_TOUCH_REQUIRED = CertOptionNameAndValidPrincipalTypes(name='no-touch-required', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, the private key does not require the user to touch it (equivalent to executing
ssh-keygenwith-O no-touch-required).
- PERMIT_AGENT_FORWARDING = CertOptionNameAndValidPrincipalTypes(name='permit-agent-forwarding', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, allows the user to enable agent forwarding by specifying the
-Aoption tosshor theForwardAgentoption inssh_config.
- PERMIT_PORT_FORWARDING = CertOptionNameAndValidPrincipalTypes(name='permit-port-forwarding', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, allows the user to enable local or remote port forwarding by specifying the
-D,-L, or-Roptions tosshor theDynamicForward,LocalForward, orRemoteForwardoptions inssh_config.
- PERMIT_PTY = CertOptionNameAndValidPrincipalTypes(name='permit-pty', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, allows the user to request a pseudo-TTY by specifying the
-toption tosshor theRequestTTYoption inssh_config.
- PERMIT_USER_RC = CertOptionNameAndValidPrincipalTypes(name='permit-user-rc', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, runs the user’s
~/.ssh/rc, if it exists, once the user is authenticated; equivalent to setting thePermitUserRCoption insshd_config.
- PERMIT_X11_FORWARDING = CertOptionNameAndValidPrincipalTypes(name='permit-x11-forwarding', valid_principal_types=[<CertPrincipalType.USER: 1>])¶
If present, allows the user to enable X11 forwarding by specifying the
-Xoption tosshor theForwardX11option inssh_config.