aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-10-28 00:33:11 +0200
committerneodarz <neodarz@neodarz.net>2018-11-27 15:38:23 +0100
commit4f0c8816bf04450067c9ffbeb9ac9abd1c50382a (patch)
treeeb2355067ecccc8784125a16f3a2512118fc1882
parent59f0e9a65639c3aff85ea84aafb5ce8943445334 (diff)
downloaddotfiles_ascii-4f0c8816bf04450067c9ffbeb9ac9abd1c50382a.tar.xz
dotfiles_ascii-4f0c8816bf04450067c9ffbeb9ac9abd1c50382a.zip
Add ssh key generation of ed25519
-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