Skip to content

Instantly share code, notes, and snippets.

@degensean
degensean / use-keepass-keeagent-ssh-keys-inside-wsl2.md
Last active November 23, 2025 21:27
Use KeePass (KeeAgent) ssh keys inside WSL2

To use your KeePass (KeeAgent) keys inside WSL Ubuntu without copying the private key files, you need to bridge the communication between the Windows side (where KeeAgent is running) and the Linux side (WSL).

We will use a tool called npiperelay and a utility called socat to forward the SSH "socket" from Windows to Linux.

Note: Your KeePass (KeeAgent) has to be working normally on Windows before you proceed.


Step 1: Configure KeeAgent

@degensean
degensean / init-ts-project.sh
Last active January 8, 2025 02:22
Initialize a Typescript project using yarn with git
#!/bin/bash
# Usage: ./init-ts-project.sh my-new-project
## Prerequisites:
# Install yarn: https://classic.yarnpkg.com/en/docs/install/#windows-stable
# Install jq: https://jqlang.github.io/jq/download/
PROJECT_NAME=$1