Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
## Just source this file in your .$SHELLrc | |
# Import SSH-Keys from KeePass KeeAgent | |
# Enable msysgit socken in KeeAgent! | |
if [[ -z $SSH_AUTH_SOCK ]]; then | |
export SSH_AUTH_SOCK="/tmp/.ssh-auth-sock" | |
fi | |
if [[ ! -f /tmp/msysgit2unix-socket.pid ]]; then | |
~/bin/msysgit2unix-socket.py /mnt/c/Users/$USER/keeagent.sock:$SSH_AUTH_SOCK |
#!/usr/bin/python | |
""" | |
msysGit to Unix socket proxy | |
============================ | |
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows). | |
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the | |
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other |
Windows Service with Python 3.5 and pyinstaller