Skip to content

Instantly share code, notes, and snippets.

View 5-h0's full-sized avatar
⚖️
New Found Balance

5-h0

⚖️
New Found Balance
View GitHub Profile
@5-h0
5-h0 / 01-generate-ed25519-ssh-key.sh
Last active May 14, 2022 08:14 — forked from grenade/01-generate-ed25519-ssh-key.sh
[Fedora]generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "stanley ho <stanley.ho@utexas.edu>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f sho_host_ca -C sho.network
eval "$(ssh-agent -s)"