Skip to content

Instantly share code, notes, and snippets.

View mr-mosi's full-sized avatar
😉
Taking it easy!

Musio mr-mosi

😉
Taking it easy!
View GitHub Profile
@mr-mosi
mr-mosi / Set up GitHub push with SSH keys.md
Created January 1, 2022 19:49
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"
@mr-mosi
mr-mosi / cloud_metadata.txt
Created July 14, 2019 15:06 — forked from jhaddix/cloud_metadata.txt
Cloud Metadata Dictionary useful for SSRF Testing
## AWS
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/ami-id
http://169.254.169.254/latest/meta-data/reservation-id
http://169.254.169.254/latest/meta-data/hostname
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: