Skip to content

Instantly share code, notes, and snippets.

View BertanT's full-sized avatar
🧃

M. Bertan Tarakçıoğlu BertanT

🧃
View GitHub Profile
@BertanT
BertanT / guide_macskeyinstaller.md
Last active March 31, 2025 01:09
macOS OpenSSH Client Patcher for Hardware Security Key Support (ED25519-SK With YubiKey Etc.)

🔐 macOS OpenSSH Patcher for Hardware Security Keys

Supports ED25519-SK with Yubikey and other FIDO2 hardware security keys!

🤔 Discussion

Despite being compiled to support hardware security keys that take advantage of the FIDO2 protocol, the built-in OpenSSH client on macOS Sonoma and above lacks the middleware/library to support these devices. To keep using the built-in client - which is often the most stable and secure method for SSH connections - we need to compile the Security Key Provider from OpenSSH source and tell the macOS client about it ourselves.

This script does all of that for you on both Apple Silicon and Intel Mac computers!

The script installs openssl and libfido2 along with the required build tools from Homebrew. It then clones the latest main branch of OpenSSH Portable and builds from it the Security Key Provider library: sk-libfido2.dylib. It finally moves the built library to /usr/local/lib/, modifies ~/.zshenv to expor

@BertanT
BertanT / raspberryPiOSBullseyeWindowButtonOrder.md
Created February 4, 2022 00:34
Change Window Button Order on Raspberry Pi OS Debian Bullseye

Change Window Button Order on Raspberry Pi OS Debian Bullseye

I was looking for a way to change the window button order on the new Raspberry Pi OS Debian Bullseye.The Openbox configuration doesn't work for this since the new realse uses Mutter as the window manager. Then I found this termianl command that changes the button order in Mutter

You can change the order of the buttons to customize it to your liking!

gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize"