Skip to content

Instantly share code, notes, and snippets.

View yalattas's full-sized avatar

Yasser Alattas yalattas

View GitHub Profile
@yalattas
yalattas / generate-ssh-key.sh
Created March 13, 2023 14:25 — forked from denisgolius/generate-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa