Replace rsa with ed25519 as elliptic curve is a way more secure. Ed25519 also offers better performance.
For useradd you can do
useradd -m username - this creates automatically the homedirectory
otherwise good tutorial
I Made a Great SSH Tutorial Guide
Most of the guides don't cover the reasons why, so the concepts seem foreign and therefore harder. They also leave out critical security steps.
This guide covers:
-Why SSH keys
-How to generate a key & use it
-How to create users with correct access
-How to disable root & passwords
-How to Change the Port
It's a great reference for anyone new to using Linux for a VPS,
https://simplifiedprivacy.com/linux-guide-for-new-vps/ssh-users-firewall-dns.html
Replace rsa with ed25519 as elliptic curve is a way more secure. Ed25519 also offers better performance.
For useradd you can do
useradd -m username - this creates automatically the homedirectory
otherwise good tutorial
Thanks for the tips, appreciated. I'll update it