SSH access
Hoist manages your servers for you, so you don't need SSH for everyday work: logs, commands and deploys are all in Hoist. When you do want a shell on a server, three things are needed: your key, your address, and access to that server.
1. Add your key
Go to your own Settings → SSH keys and paste your public key, usually the contents of ~/.ssh/id_ed25519.pub. No key yet? Run:
ssh-keygen -t ed25519
Adding or removing a key updates every server you can reach. The same page lists those servers, with the command to connect.
2. Allow your address
Each server's firewall only accepts SSH from Hoist's own addresses until you add yours. Go to Team settings → SSH access and add the addresses or ranges your team connects from, such as 203.0.113.7 or 203.0.113.0/24. Allow my IP adds the one you're on now.
The list applies to every server firewall in the team's cloud accounts. Removing an address cuts off open sessions from it once the firewall updates. Hoist's own addresses always stay.
3. Get access to a server
On the server's page, an admin chooses a member and Give SSH access. Their keys are added to the server, and they connect with the command shown there:
ssh <user>@<server IP>
Removing someone's access, or removing them from the team, takes their keys off the server.
Who can do what
- Everyone adds their own keys.
- Admins and owners manage the allowed addresses and who can reach each server.
How Hoist connects
Hoist itself connects with a key made for each server, kept encrypted. Changes made through Hoist are recorded in the audit log. Changes you make by hand over SSH aren't, so prefer Hoist's own settings where there is one.