Created
June 3, 2019 15:59
-
-
Save juan-m-medina/d7305baeaa39bc9e9d2d61e6c0d153c6 to your computer and use it in GitHub Desktop.
Git configuration to address ssh-add issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The SSH Command is necessary to make sure the ssh-add for the agent uses the same binary as your global SSH. | |
# In this case OpenSSH was installed and the Windows 10 Agent was uninstalled. | |
# Prior to this the git client and the ssh-agent were hitting different binaries and the git client kept asking for the passphrase | |
[user] | |
name = Juan_M_Medina | |
email = [email protected] | |
[core] | |
sshCommand = c:/Program\\ Files/OpenSSH-Win64/ssh.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the ~/.ssh/config file | |
# Replace git with the servername you use | |
# the MACs option forces specific MAC resolution which was needed in a situation where | |
# we were getting a "Corrupted MAC on Input" due to the server/client being at different default versions. | |
Host git.server.com | |
Hostname git.server.com | |
MACs hmac-sha1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment