And definitely, the user with complete sudo access sharing password with JIRA, that was a big FAIL. This would actually have prevented part of the attack suffered.
When ssh-agent is no longer required you can kill it through windows task manager. They include lots of security fixes as well, including locking user accounts after a number of failed log in attempts.
From that moment you can execute git push, git pull from TortoiseGit and MsysGit without prompting passphrase. ssh-socket exists after previous agent session Start cmd.exe and execute following commands(since we installed MsysGit all following commands are accessible in cmd - /bin is added to system PATH variable): # following command is required to execute for avoiding Address already bind message when ssh-agen is not started yet but.
If there is GIT_SSH variable present - remove it.ĭefine system variable SSH_AUTH_SOCKS=C:\temp.ssh-socket
Install TortoiseGit (check openssh instead of plink during installation). We are using separate approach for cygwin, because cygwin by some reason doesn't see processes started externally in windows environment. !!! Before exiting cygwin session don't forget to kill ssh-agent process (use ps for find process PID and kill -9). Password will be asked only once on the cygwin session startup. Use approach described in the following article: And you could also try to use the Git command to push the changes to Git repository. I suggest that you could try to push the changes directly like the following link: After that, click 'Pull' to get the contents in remote repository to check the result again. When I click Show environment variables in TortoiseGit I now have : HOME=C:\Documents and Settings\kraymerīut git pull still require I enter passphrase. Since you are using 'Sync' to push the changes to Git repository. ssh/config ?įollowing advice I configured my $HOME variable. Is it possible to make TortoiseGit work with ssh-agent ? When doing a git pull, the remote url is now resolved but the passphrase password is asked while I expect ssh-agent automatic authentication to occur. I picked the ssh.exe shipped with msys git as ssh client in TortoiseGit settings. The automatic authentication (Pageant) worked but setup was a fail as TortoiseGit don't recognize git repos url formatted as then decided to install TortoiseGit using openssh client, so the config file can be read by the ssh client, and to mimic the git CLI setup. I first installed TortoiseGit with Plink and using Pageant to load ssh private key. When using the git bash CLI, everything works as intended. IdentityFile "/c/Documents and Settings/kraymer/.ssh/id_rsa" So I create a ~/.ssh/config file : Host gitbox