This commit is contained in:
Joshua Seigler 2025-06-15 16:56:59 -04:00
parent bee93bd9aa
commit 4513451823
42 changed files with 78 additions and 45 deletions

View file

@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<link rel="stylesheet" href="/site.css?v=9f2b70ad5d78" />
<link rel="stylesheet" href="/site.css?v=1e5c2ce3b48c" />
<link rel="me" href="https://github.com/seigler" />
<link
rel="webmention"
@ -132,16 +132,16 @@
start:
</p>
<ul>
<li>Change the default root password</li>
<li>Change the default root password.</li>
<li>
Create a new user, add it to the sudo group. In my examples below the
user is <code>joshua</code>.
Create a new user and add it to the sudo group. In my examples below
the user is <code>joshua</code>.
</li>
<li>
Use <code>ssh-copy-id</code> to install your ssl pubkey for easier
login
login.
</li>
<li>Disable/lock roots password</li>
<li>Disable/lock roots password.</li>
<li>
Disable root login over ssh and change the SSL port number. Pick a new
port lower than 1024.
@ -169,9 +169,9 @@
rel="noopener"
>official instructions</a
>.<br />
Here is the Caddyfile I made - you will need to change the domains names
Here is the Caddyfile I madeyou will need to change the domains names
and the email. Email could be removed, but it is recommended so SSL
certificate issues can contact you if there is a problem with your
certificate issuers can contact you if there is a problem with your
certificates.
</p>
<p><code>/etc/caddy/Caddyfile</code></p>