Skip to content

Instantly share code, notes, and snippets.

View aminmiri's full-sized avatar
🚀

Amin Miri aminmiri

🚀
View GitHub Profile
@aminmiri
aminmiri / Securing_Git_with_SSH_and_FIDO_security_keys.txt
Last active August 27, 2024 21:57
Protect SSH access to your repositories using a security key
# CHNAGE PATH ACCORDING TO YOUR WORKING ENVIRONMENT
# Generate the SSH Key
ssh-keygen -t ed25519-sk -O resident -C "yubico_key_0" -f ~/.ssh/yubico_key_0
vi ~/.ssh/config
Host github.com
HostName github.com
User git