Ruby: Configuring your Stackhero for Ruby service
This documentation is part of the Deploy to production guide. You can view the complete guide here: How to deploy your Ruby code to production in just a few minutes.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Ruby cloud solution that provides a host of benefits, including:
- Deploy your application in seconds with a simple
git push.- Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
- Enjoy peace of mind with automatic backups, one-click updates, and straightforward, transparent, and predictable pricing.
- Get optimal performance and robust security thanks to a private and dedicated VM.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!
If you haven’t created a Stackhero for Ruby service yet, you can do so from your Stackhero dashboard in just a few minutes.
Once your Ruby service is up and running, the next step is to add your SSH public key. You can find your public key by running:
cat ~/.ssh/id_*.pub
Don’t have SSH keys yet?
You can generate them with:
ssh-keygen -t ed25519
To add your SSH key, go to your Stackhero dashboard, select your Ruby service, click "Configure", and paste your public key into the "SSH public keys" section.
<!--  -->Tip: Want to save time in the future? Add your SSH public key to your profile so it’s automatically included when you create new services.
Just click your profile picture in the top right corner of the dashboard, select "Your profile", and add your SSH public key there.