About policies for security settings in your enterprise
You can enforce policies to control the security settings for organizations owned by your enterprise on GitHub Enterprise Server. By default, organization owners can manage security settings. For more information, see "Keeping your organization secure."
Requiring two-factor authentication for organizations in your enterprise
Enterprise owners can require that organization members, billing managers, and outside collaborators in all organizations owned by an enterprise use two-factor authentication to secure their personal accounts.
Before you can require 2FA for all organizations owned by your enterprise, you must enable two-factor authentication for your own account. 更多信息请参阅“使用双重身份验证 (2FA) 保护您的帐户”。
警告:
- When you require two-factor authentication for your enterprise, members, outside collaborators, and billing managers (including bot accounts) in all organizations owned by your enterprise who do not use 2FA will be removed from the organization and lose access to its repositories. 他们还会失去对组织私有仓库的复刻的访问权限。 如果他们在从您的组织中� 除后的三个月内为其个人帐户启用双重身份验证,您可以恢复其访问权限和设置。 更多信息请参阅“恢复组织的前成员”。
- Any organization owner, member, billing manager, or outside collaborator in any of the organizations owned by your enterprise who disables 2FA for their personal account after you've enabled required two-factor authentication will automatically be removed from the organization.
- If you're the sole owner of a enterprise that requires two-factor authentication, you won't be able to disable 2FA for your personal account without disabling required two-factor authentication for the enterprise.
在您要求使用双重身份验证之前,我们建议通知组织成员、外部协作者和帐单管理员,并要求他们为帐户设置双重身份验证。 组织所有者可以查看成员和外部协作者是否已在每个组织的 People(人员)页面上使用 2FA。 更多信息请参阅“查看组织中的用户是否已启用 2FA”。
-
在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
在左侧边� �中,单击 Security(安全)。
-
在“Two-factor authentication(双重身份验证)”下,审查有关更改设置的信息。 (可选)要在更改设置之前,查看企业帐户中所有组织的当前配置,请单击 View your organizations' current configurations(查看组织的当前配置)。
-
在“Two-factor authentication(双重身份验证)”下,选择 Require two-factor authentication for all organizations in your business(对您企业中的所有组织要求双重身份验证),然后单击 Save(保存)。
-
If prompted, read the information about members and outside collaborators who will be removed from the organizations owned by your enterprise. To confirm the change, type your enterprise's name, then click Remove members & require two-factor authentication.
-
Optionally, if any members or outside collaborators are removed from the organizations owned by your enterprise, we recommend sending them an invitation to reinstate their former privileges and access to your organization. 每个人都必须启用双重身份验证,然后才能接受您的邀请。
Managing SSH certificate authorities for your enterprise
You can use a SSH certificate authorities (CA) to allow members of any organization owned by your enterprise to access that organization's repositories using SSH certificates you provide. 您可以要求成员使用 SSH 证书访问组织资源,除非 SSH 已在仓库中禁用。 更多信息请参阅“关于 SSH 认证中心”。
添� SSH 认证中心
在颁发每个客户端证书时,必须包含扩展,以指定证书用于哪个 GitHub Enterprise Server 用户。 更多信息请参阅“关于 SSH 认证中心”。
-
在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
在左侧边� �中,单击 Security(安全)。
-
在“SSH Certificate Authorities(SSH 认证中心)”右侧,单击 New CA(新 CA)。
-
在“Key(密钥)”下,粘贴您的公共 SSH 密钥。
-
单击 Add CA(添� CA)。
-
(可选)若要求会员使用 SSH 证书,请选择 Require SSH Certificates(需要 SSH 证书),然后单击 Save(保存)。
� 除 SSH 认证中心
对 CA 的� 除� 法撤销。 如果以后要使用同一 CA,您需要重新上� 该 CA。
-
在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
在左侧边� �中,单击 Security(安全)。
-
在“SSH Certificate Authorities(SSH 认证中心)”下您想要� 除的 CA 权限右边,单击 Delete(� 除)。
-
阅读警告,然后单击 I understand, please delete this CA(我了解,请� 除此 CA)。