From d828033f367282d27f92c8c34b9b3c26d2315d0f Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Wed, 20 Jul 2022 13:46:48 -0400 Subject: [PATCH] Add a note on creating an ed25519 keypair --- aliases | 2 +- ssh.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 ssh.md diff --git a/aliases b/aliases index e53ed3a..20f667a 100644 --- a/aliases +++ b/aliases @@ -607,7 +607,7 @@ dl_twitch_vid() { if [[ $compress -eq 1 ]]; then local temp_name="temp_${RANDOM}" # 1 arg = use GPU - compress-video 1 "$filename" "$temp_name" + compress-video 0 "$filename" "$temp_name" extension="${filename##*.}" mv "$filename" "orig_$filename" mv $temp_name.$extension "$filename" diff --git a/ssh.md b/ssh.md new file mode 100644 index 0000000..2215e0b --- /dev/null +++ b/ssh.md @@ -0,0 +1,7 @@ +# Creating an elliptic curve keypair (ed25519) + +* Create: `ssh-keygen -a 100 -t ed25519 -f ~/.ssh/filename` +* Schema check: + * `ssh-keygen -lf ~/.ssh/filename` + * `ssh-keygen -lf ~/.ssh/filename.pub` +