From ad626c9fdfb121c84d9364cd9dc3d63df34eabd2 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Wed, 7 May 2025 21:09:41 +0100 Subject: [PATCH] Fix post --- .../page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/writing/passwordless-ssh-login-with-public-key-authentication/page.mdx b/app/writing/passwordless-ssh-login-with-public-key-authentication/page.mdx index 15d85de..bc76a49 100644 --- a/app/writing/passwordless-ssh-login-with-public-key-authentication/page.mdx +++ b/app/writing/passwordless-ssh-login-with-public-key-authentication/page.mdx @@ -38,13 +38,13 @@ sudo adduser username ``` ```bash -sudo usermod -aG sudo ryan +sudo usermod -aG sudo username ``` Alternatively, if the user already exists you can add them to the sudo group using the `adduser` command. ```bash -sudo adduser ryan sudo +sudo adduser username sudo ``` ## Disable root login for SSH