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

Reply to this note

Please Login to reply.

Discussion

With Trezor you can deterministically generate an ssh key and use it to access your VPS without saving sensitive data to your home directory - where it can be easily swept by AI tools

I set up dropbear because my system is full disk encrypted, and I need a way to enter the luks pass key during reboots.

Now I can't SFTP in

Did you try using port 2222?

I don't recall. I'll give that a go.

haha. i'm telling you the easiest way is to create a disk file volume. no need for that other shit, normal SSH.

Nice! I guess you are covering #OpenSSH.

Viva #BSD

https://www.openssh.com/

What an awesome resource! Thank you 🙏🏻

you're welcome man

port forwarding is also very helpful. as well as understanding ~/.ssh/config

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