A few things about that will make this key secure:
If you want to nerd out on why we suggest this algorithm, you can read this guide.
~/.ssh directory, and look for files ending in *.pub.Spin works with any valid SSH key. It does NOT need to be the ED25519 algorithm, just as long as it works with SSH and is secure.If you need to create an SSH key, you can run this on your local machine:
ssh-keygen -o -a 100 -t ed25519
It will create two files:
~/.ssh/id_ed25519 # ❌ This is your PRIVATE key. Keep this secret
~/.ssh/id_ed25519.pub # ✅ This is your PUBLIC key. This is the value we want to use
To get the public key value, you can run this command:
cat ~/.ssh/id_ed25519.pub
This will echo the public key value to your terminal.
You can copy this value and use it in your .spin.yml when you configure your "users.username.authorized_ssh_keys" for your server.
Updating Your Server
Keeping your server up to date is important for security and performance. Spin makes it stupid-easy to update your server.
Configuring DNS records for your app
One of the most foundational parts of the Internet is using the Domain Name System (DNS) to map domain names to IP addresses. This allows you to use human-readable domain names like `example.com` instead of remembering IP addresses. This guide will show you how to configure DNS records for your app.