I’m experimenting with Windows and WSL2 as my daily driver.
On Pop!_OS, I usually get my SSH key to clipboard with xclip
:
cat ~/.ssh/id_ed25519.pub | xclip -sel copy
No surprise, it didn’t work on WSL2. The answer was quite simple in the end:
cat ~/.ssh/id_ed25519.pub | clip.exe
5