]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Script for SSH signing keys generation
authorSergey Matveev <stargrave@stargrave.org>
Fri, 11 Aug 2023 09:06:08 +0000 (12:06 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 11 Aug 2023 13:09:53 +0000 (16:09 +0300)
ssh/bin/ssh-new-key [new file with mode: 0755]

diff --git a/ssh/bin/ssh-new-key b/ssh/bin/ssh-new-key
new file mode 100755 (executable)
index 0000000..a9107fb
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+exec ssh-keygen -Z chacha20-poly1305@openssh.com -t ed25519 -C $1 -f ~/.ssh/sign/$1