Created
February 18, 2019 13:35
-
-
Save shokinn/34e2ab7754f9229b79ad340d934f2b90 to your computer and use it in GitHub Desktop.
start_keepass_agent.sh
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
#!/bin/sh | |
export KEEAGENT_SOCK="/mnt/c/Users/philip/keeagent.sock" | |
ssh_auth_tmpdir=`mktemp --tmpdir --directory keeagent-ssh.XXXXXXXXXX` | |
export SSH_AUTH_SOCK="${ssh_auth_tmpdir}/agent.$$" | |
PIDFILE="${ssh_auth_tmpdir}/pid.$$" | |
python3 ~/bin/msysgit2unix-socket.py --pidfile $PIDFILE $KEEAGENT_SOCK:$SSH_AUTH_SOCK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment