Skip to content

Instantly share code, notes, and snippets.

View ezoer's full-sized avatar

Erwin Zoer ezoer

View GitHub Profile
@ezoer
ezoer / renew-gpgkey.md
Created January 27, 2024 15:08 — forked from krisleech/renew-gpgkey.md
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

@ezoer
ezoer / Set up GitHub push with SSH keys.md
Created February 5, 2023 13:26 — forked from xirixiz/Set up GitHub push with SSH keys.md
Set up GitHub push with SSH keys

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "your_email@example.com"