Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Creating a strong password

Secure your account on your GitHub Enterprise Server instance with a strong and unique password using a password manager.

You must choose or generate a password for your account on your GitHub Enterprise Server instance that is at least:

  • Seven characters long, if it includes a number and a lowercase letter, or
  • 15 characters long with any combination of characters

To keep your account secure, we recommend you follow these best practices:

You can only use your password to log on to GitHub Enterprise Server using your browser. When you authenticate to GitHub Enterprise Server with other means, such as the command line or API, you should use other credentials. For more information, see "About authentication to GitHub."

Further reading