diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-06-30 11:32:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-30 11:32:48 -0400 |
| commit | e67d34aeadf3983a9ef908b2875ee950650ae760 (patch) | |
| tree | 065f07fe0a43aff7a6598ce2bc525c59b35ac445 | |
| parent | dadfca40f908a98962f92c2cce958848e05fa975 (diff) | |
| parent | 6168735a9b99f4b0b704fcf8764da7278ee243f2 (diff) | |
Merge pull request #9 from oidz1234/master
Added styling for a "callout" style aside and also added a bit on ssh key file permissions
| -rw-r--r-- | sshkeys.html | 16 | ||||
| -rw-r--r-- | style.css | 6 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sshkeys.html b/sshkeys.html index 14db22c..53382ee 100644 --- a/sshkeys.html +++ b/sshkeys.html @@ -85,6 +85,22 @@ <p> It should now let your log in without a password prompt! </p> + <aside class=callout> + <p> + If you find that this does not work try running the following, make sure you are in the directory where the keys where created. + </p> + <p> + <code> chmod 700 .ssh/ </code> + </p> + <code> chmod 644 .ssh/id_rsa.pub </code> + <p> + <code> chmod 600 .ssh/id_rsa </code> + </p> + <code> chmod 644 .ssh/authorized_keys </code> + <p> + For whatever reason these files due not have the correct permissions set, as ssh is very picky about correct file permissions this can cause errors. The above will fix these. + </p> + </aside> <h2>Disabling Password Logins for Security</h2> @@ -126,6 +126,12 @@ aside code { color: green ; } +/* .callout here is refencing any aside given the class name callout + * An example being: <aside class="callout"> */ +aside.callout { + border: solid 1px orange; +} + .cnp { width: 100% ; |
