From 5a6fed27cf6fff4f134bc3cd489ecabda0942e00 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 17 Mar 2023 12:17:21 +0300 Subject: [PATCH] notes: add ssh-keygen command --- notes/ssh.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/notes/ssh.md b/notes/ssh.md index 4523e3f..bffc687 100644 --- a/notes/ssh.md +++ b/notes/ssh.md @@ -9,3 +9,9 @@ If you want to get key for the current machine you can use the following code ```sh ssh-keyscan localhost ``` + +# Generate new ssh key + +``` +ssh-keygen -t ed25519 -C "bob@example.com" +```