Introduction
Git access includes to authenticate with the Git server and to access remote repositories.
The below information is not specific for use with PowerShell, but is available for explanation purposes.
Git config File
A Git client reads configuration items from the following file (assuming a user account me
):
- for Unix environments
/home/me/.ssh/config
- for Windows environments
C:\Users\me\.ssh\config
The Git config
file can look like this:
Example for Git config file
Host github.com Hostname github.com IdentityFile C:\Users\me\.ssh\github_rsa IdentitiesOnly yes
Explanation:
- The settings map use of a specific private key identity file to authentication with a specific Git server.
Overview
Content Tools