{"meta":{"title":"Git에서 항상 자격 증명을 묻는 이유는 무엇인가요?","intro":"GitHub와 상호작용하려고 할 때마다 Git이 자격 증명을 묻는다면, 아마도 리포지토리의 HTTPS 복제 URL을 사용하고 있을 가능성이 높습니다.","product":"시작하기","breadcrumbs":[{"href":"/ko/enterprise-cloud@latest/get-started","title":"시작하기"},{"href":"/ko/enterprise-cloud@latest/get-started/git-basics","title":"Git 기본 사항"},{"href":"/ko/enterprise-cloud@latest/get-started/git-basics/why-is-git-always-asking-for-my-credentials","title":"반복되는 자격 증명 프롬프트"}],"documentType":"article"},"body":"# Git에서 항상 자격 증명을 묻는 이유는 무엇인가요?\n\nGitHub와 상호작용하려고 할 때마다 Git이 자격 증명을 묻는다면, 아마도 리포지토리의 HTTPS 복제 URL을 사용하고 있을 가능성이 높습니다.\n\nHTTPS 원격 URL을 사용하는 경우 SSH를 사용할 때와 비교하여 몇 가지 이점이 있습니다. SSH보다 쉽게 설정할 수 있으며, 일반적으로 엄격한 방화벽 및 프록시를 통해 작동합니다. 그러나 리포지토리를 끌어오거나 푸시할 때마다 GitHub 자격 증명을 입력하라는 메시지가 표시됩니다.\n\nGit에서 암호를 입력하라는 메시지가 표시되면 personal access token를 입력합니다. 또는 [Git 자격 증명 관리자](https://github.com/GitCredentialManager/git-credential-manager/blob/main/README.md)와 같은 자격 증명 도우미를 사용할 수 있습니다. 보다 안전한 인증 방법을 지원하기 위해 Git에서 암호 기반 인증이 제거되었습니다. 자세한 내용은 [개인용 액세스 토큰 관리](/ko/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)을(를) 참조하세요.\n\n[자격 증명을 캐시](/ko/enterprise-cloud@latest/get-started/git-basics/caching-your-github-credentials-in-git)하도록 Git을 구성하면 암호를 묻는 메시지가 표시되지 않도록 할 수 있습니다. 자격 증명 캐싱을 구성한 후에는 HTTPS를 사용하여 리포지토리를 끌어오거나 푸시할 때 Git에서 캐시된 personal access token을(를) 자동으로 사용합니다.\n\n[엔터프라이즈 관리 사용자](/ko/enterprise-cloud@latest/get-started/learning-about-github/types-of-github-accounts#managed-user-accounts)인 경우, 엔터프라이즈 소유자가 해당 엔터프라이즈에 대해 [SSO Redirect 설정](/ko/enterprise-cloud@latest/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-sso-for-unauthenticated-users)을 활성화하지 않았다면, [GCM(Git 자격 증명 관리자)](https://github.com/git-ecosystem/git-credential-manager)을 사용할 때 자격 증명 캐싱이 제대로 작동하지 않을 수 있습니다. 이런 상황에서는 Git 작업을 수행할 때마다 인증을 요청하는 프롬프트가 반복되어 표시되지 않도록 로컬에서 GCM [계정 필터링](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/configuration.md#credentialgithubaccountfiltering)을 비활성화해야 합니다. 세부 정보는 [Git에서 GitHub 자격 증명 캐싱](/ko/enterprise-cloud@latest/get-started/git-basics/caching-your-github-credentials-in-git)을(를) 참조하세요.\n\n## 추가 참고 자료\n\n* [원격 리포지토리 정보](/ko/enterprise-cloud@latest/get-started/git-basics/about-remote-repositories)\n* [GitHub 인증 정보](/ko/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/about-authentication-to-github)\n* [새 SSH 키 생성 및 ssh-agent에 추가](/ko/enterprise-cloud@latest/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)\n* [Git에서 GitHub 자격 증명 캐싱](/ko/enterprise-cloud@latest/get-started/git-basics/caching-your-github-credentials-in-git)"}