From d6f2ba4d5f73192157f8f93f65a2314736e2333c Mon Sep 17 00:00:00 2001 From: MasterMax13124 Date: Thu, 1 Jul 2021 12:35:23 +0200 Subject: Fixed typos, slightly improved phrasing --- sshkeys.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sshkeys.html b/sshkeys.html index 53382ee..24154ba 100644 --- a/sshkeys.html +++ b/sshkeys.html @@ -18,15 +18,15 @@ This allows us to do two main things:

    -
  1. Password-less login: With SSH keys, we can permanently designate our profile on our local computer as safe for hour server, allowing us to bypass password verification when logging into our server.
  2. +
  3. Password-less login: With SSH keys, we can permanently designate our profile on our local computer as safe for our server, allowing us to bypass password verification when logging into our server.
  4. Prevent hacking: Since we no longer need a password to log in, we can simply deactivate password logins on our server altogether, which prevents hacking from people who may be so lucky as to guess our password!

- In order words, using an SSH key to login is both safer, faster and easier. + In other words, using an SSH key to login is both safer, faster and easier.

- This is especially better once you start making scripts on your computer that interact with your server. + This is especially useful once you start making scripts on your computer that interact with your server. You can upload files in the background, edit your spam filters or anything else from your local computer without having to input your password each time you touch the server.

@@ -58,15 +58,15 @@

Making your server trust your key.

- Now that you have an SSH key generate, just run the following: + Now that you have generated an SSH key, just run the following:

ssh-copy-id root@yourdomain.com

- That will ask for your server's root password and will log you in briefly. + The command will ask for your server's root password and log you in briefly. What this does is that it puts your public SSH key fingerprint on your server in a file /root/.ssh/authorized_keys. - What this does is that it allows approved SSH keys to login without passwords. + This file in turn allows approved SSH keys to log in without passwords.