From 4f0c8816bf04450067c9ffbeb9ac9abd1c50382a Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 28 Oct 2018 00:33:11 +0200 Subject: Add ssh key generation of ed25519 --- cheat/.cheat/ssh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cheat') 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 -- cgit v1.2.1