From ab621f21b8e69f643dd5c0700287628cf1be4ce0 Mon Sep 17 00:00:00 2001 From: Ken Schaefer Date: Tue, 13 Dec 2022 06:49:23 -0600 Subject: [PATCH] Update ssh.md Updated key generation to best practice because ssh-rsa is deprecated --- Runbooks/ssh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runbooks/ssh.md b/Runbooks/ssh.md index e3fdee2..3e27521 100644 --- a/Runbooks/ssh.md +++ b/Runbooks/ssh.md @@ -15,7 +15,7 @@ mkdir ~/.ssh && chmod 700~/.ssh ### Create SSH keys on your client ``` -ssh-keygen -t rsa -b 4096 -C "email@domain.com" +ssh-keygen -t ed25519 -C "email@domain.com" ``` ### Copy key to a remote server @@ -40,4 +40,4 @@ Note about git: I have noticed that you need to generate keys for both your user ### Login to remote server using your key -`ssh username@ip_address` \ No newline at end of file +`ssh username@ip_address`