aboutsummaryrefslogtreecommitdiff
path: root/cheat
diff options
context:
space:
mode:
Diffstat (limited to 'cheat')
-rw-r--r--cheat/.cheat/ssh5
1 files changed, 5 insertions, 0 deletions
diff --git a/cheat/.cheat/ssh b/cheat/.cheat/ssh
index 6576c2b..b422ae6 100644
--- a/cheat/.cheat/ssh
+++ b/cheat/.cheat/ssh
@@ -45,3 +45,8 @@ emacs /ssh:name@server:/path/to/file
# Generate ssh key
ssh-keygen -t rsa -C "your_email@example.com" -P "" -q -f ~/.ssh/gitlab_rsa
+# ed25519 key
+# Added in OpenSSH 6.5
+ssh-keygen -t ed25519
+
+ssh-keygen -t ed25519 -C "user@example.com" -q -f ~/.ssh/user@example.com