What you’ll need
- A Hivenet account with Compute credits
- Windows 10 or later
- Windows Terminal (or PowerShell)
- OpenSSH installed (enabled by default on Windows 10+)
Step 1 – Create your SSH key pair
Open Windows Terminal and run this command:- Press Enter to accept the default location (
C:\Users\<yourname>\.ssh\id_ed25519) - When prompted, you can set a passphrase (optional but recommended)
id_ed25519(your private key) — never share thisid_ed25519.pub(your public key) — you’ll upload this to Hivenet
id_hivenet, id_rsa).
Step 2 – Find your key files
Your key files are located in:Step 3 – Add your public key to Hivenet
- Open the
.pubfile in a text editor (right-click > Open with Notepad) - Copy the entire contents of the file
- Paste it into the SSH Key field when creating your instance on the Compute dashboard
The SSH key field accepts one public key only.If you want to authorize more keys later (for teammates or alternate devices), connect to the instance and add them manually in
~/.ssh/authorized_keys.Step 4 – Create a basic SSH config file (optional but useful)
In the same.ssh folder, create a new file named config (no file extension). Paste this in (make sure your SSH key name is similar to the name given):
Troubleshooting
- “Permission denied (publickey)” — Your public key may not be added correctly or you’re using the wrong private key.
- “Connection timed out” — Check your config file or try adding
-vfor more detailed output. - Terminal closes too fast? Open a terminal first, then paste the command manually instead of double-clicking a script.