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,

Replies (11)

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
port forwarding is also very helpful. as well as understanding ~/.ssh/config
Default avatar
Deleted 5 months ago
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