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