This is a small guide on how to set up PyCharm, Babun & WinSCP on Windows to use SSH Keys which are saved in KeePass. This significantly improves the user experience while keeping the keys save.
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
server { | |
[... normal configs] | |
# Try webpack server first, if error 502 then go try files | |
location ~ ^/.+/static/js/.+\.js$ { | |
proxy_pass http://127.0.0.1:8080; | |
proxy_set_header X-Forwarded-Host 127.0.0.1:8080; | |
error_page 502 = @localjs; | |
} |
Configuring PyCharm, Bash on Ubuntu on Windows 10 & WinSCP to work with SSH keys in Keepass using the KeeAgent Plugin
This is a small guide on how to set up PyCharm, Bash on Ubuntu on Windows & WinSCP on Windows to use SSH keys which are saved in KeePass. This significantly improves the user experience while keeping the keys save. It also alleviates any issues with Cygwin which prompted me to set this all up (see setup with Babun before https://gist.github.com/duebbert/1cd30115cf8ade37aa5b619080154e85)
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
#!/usr/bin/python3 | |
""" | |
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 |
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
@echo off | |
SETLOCAL enableextensions enabledelayedexpansion | |
:: Thanks: | |
:: - https://stackoverflow.com/questions/37000166/getting-pycharm-to-recognize-python-on-the-windows-linux-subsystem-bash-on-wind | |
:: ################################################################################### | |
:: Set up the current directory, so that we can change into it before calling git | |
:: ################################################################################### |
- Download files from and extract them: https://jp-andre.pagesperso-orange.fr/download-source.html#ultradefrag-5.0.0AB.8.zip
- Install required headers:
sudo apt install libncurses-dev ntfs-3g-dev
- Edit
src/Makefile
:... LIB1=/usr/lib/x86_64-linux-gnu/ LIB2=/usr/lib/gcc/x86_64-linux-gnu/9/
NTFSLIB=${LIB1}/libntfs-3g.so.*.0.0