Skip to content

Instantly share code, notes, and snippets.

  1. Generate private key
openssl genrsa -out privatekey.pem 1024
Generating RSA private key, 1024 bit long modulus (2 primes)
......................+++++
....................+++++
e is 65537 (0x010001)
@denyspozniak
denyspozniak / howto.md
Created May 23, 2023 20:27 — forked from strarsis/howto.md
KeeAgent (for KeePass) on Bash on Windows / WSL (2)

Update (March 2023)

Side note: The latest edge build of KeeAgent plugin offers an option for creating a WSL compatible socket. This would be very handy. I already tried to use that socket, but the socket file is currently empty and ssh inside WSL 2 is unable to use it. This appears to be a very new, unreleased and unstable feature. I will follow the development of it and when it finally works (well, for me) I will update this HOWTO. But until then, please use the proven wsl-ssh-agent/npiperelay.exe approach below.

Thanks to the instructions for WSL 2 of the wsl-ssh-agent project, KeeAgent works great in WSL 2 now: https://github.com/rupor-github/wsl-ssh-agent#wsl-2-compatibility The approach uses minimal and well maintained tools.

Mini-changelog

  • (03.03.2023) Change: Place the npiperelay.exe not onto the devfs filesystem but rather Windows filesystem (thanks @NOBUTOKA) which fixes strange delays when using the SSH k
@denyspozniak
denyspozniak / preparations.md
Created May 23, 2023 20:20 — forked from wholroyd/preparations.md
Getting Minikube on WSL2 Ubuntu working

Windows Preparation

  1. Ensure hypervisor functionality is enabled in BIOS.

    • I know it sounds stupid, but if you already have it enabled, disable it, restart the machine, and enable it again.
    • Otherwise you will hit microsoft/WSL#5363
  2. Launch a PowerShell prompt in Administrator mode [Win+X > Windows PowerShell (Admin)]

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
@denyspozniak
denyspozniak / Minikube_installation_ubuntu18.md
Created May 23, 2023 20:18 — forked from PraneshASP/Minikube_installation_ubuntu18.md
Minikube and kubectl installation instructions for Ubuntu 18.04 LTS

First let's setup minikube :

#1 - Update your system with the latest version: apt-get update -y && apt-get upgrade -y. Use sudo if needed.

#2 - Check if virtualization is supported on Linux: grep -E --color ‘vmx|svm’ /proc/cpuinfo

#3 - Install required packages (optional): apt-get install curl wget apt-transport-https -y

@denyspozniak
denyspozniak / Minikube_installation_ubuntu18.md
Created May 23, 2023 20:18 — forked from PraneshASP/Minikube_installation_ubuntu18.md
Minikube and kubectl installation instructions for Ubuntu 18.04 LTS

First let's setup minikube :

#1 - Update your system with the latest version: apt-get update -y && apt-get upgrade -y. Use sudo if needed.

#2 - Check if virtualization is supported on Linux: grep -E --color ‘vmx|svm’ /proc/cpuinfo

#3 - Install required packages (optional): apt-get install curl wget apt-transport-https -y

@denyspozniak
denyspozniak / RTPEngine_installattion.md
Created November 14, 2022 08:37 — forked from altanai/RTPEngine_installattion.md
RTPEngine installattion on Ubuntu 18 on EC2

update the newly created instance

sudo apt update -y

Install rtpengine dependecies

sudo apt-get install debhelper iptables-dev libcurl4-openssl-dev 
libpcre3-dev libxmlrpc-core-c3-dev markdown libavfilter-dev 
libavformat-dev libavresample-dev libevent-dev libglib2.0-dev libhiredis-dev 
libjson-glib-dev libpcap0.8-dev libpcap-dev libssl-dev dkms module-assistant