Skip to content
Infinitive Compute
Learn

Your first devbox, explained simply.

No experience needed. This guide explains the words, walks you through connecting for the first time on Windows, macOS or Linux, and gives you a short list of things to try.

What is a devbox?

A devbox is a small Linux computer that you rent by the hour. It sits in a data centre in Singapore and you control it from your own computer by typing commands. There is no screen or desktop. You get full control (called root access), so you can install software, run programs and break things safely. When you are done, you delete it and the billing stops.

Your computerTerminal and SSH
Your devboxLinux container in Singapore

Good for

  • Learning Linux and the command line
  • Practising programming
  • Hosting a small website or a bot
  • Trying a database or a piece of software
  • A throwaway machine you can delete

Not for

  • Windows or macOS programs: it runs Linux only
  • Anything that needs a desktop screen
  • Sending email: outbound mail ports are blocked
  • Data you cannot lose: instances are not backed up
  • Docker inside the box, during the pilot

Not sure what to build first? A template gives you a box with the software already installed, and a short list of first steps.

Glossary

The handful of words you will meet in the first hour, in plain English.

SSH

Secure Shell: a way to log in to another computer over the internet and type commands on it. What you type and what comes back is encrypted on the way.

ssh -p 22345 [email protected]
Terminal

A window where you type commands instead of clicking. The program inside it, called the shell, reads what you type and runs it. You may also hear “command line” or “console”. On a devbox, the terminal is how you do almost everything.

Root

The all-powerful user account on Linux. Root can install software, change any file and delete anything, with no safety net. On a devbox you log in as root. That is fine because the box is yours and you can throw it away and start again.

IP address

A number that identifies a computer on the internet, such as 203.0.113.10. It is the address you connect to. In an SSH command it is the part after the @. A name such as example.com is just an easier label that points to an IP address.

Port

If an IP address is a building, ports are numbered doors. Different services listen at different doors: websites at 80 and 443, SSH usually at 22. Many devboxes share one address, so each gets its own SSH port number. That is why the command has -p followed by a number.

Container

A lightweight, isolated box inside a bigger computer. Your devbox is a Linux container: it has its own files, users and programs and cannot see other customers' boxes, but it shares the host computer's kernel (the core of the operating system). That is why it starts quickly, and why a few advanced things, like loading kernel modules, are not available.

Key vs password

A password is a secret you type. Anyone who guesses it, or sees you type it, can log in. An SSH key is a matching pair of files. The private key stays on your computer and you never share it. The public key is safe to hand out: you put it on the devbox, and the box then only lets in whoever holds the matching private key.

Think of the public key as a lock you fit to the door, and the private key as the only key that opens it. Keys cannot be guessed by trying thousands of passwords, so use one for anything you keep. A generated password is fine for a quick test, and you can turn it off later.

Connect for the first time

Pick your computer below. You will make an SSH key, give the public half to the portal, and then log in. It is a one-time setup: next time you only need the last step.

  1. Open a terminal

    Press the Windows key, type Terminal (Windows 11) or PowerShell (Windows 10) and press Enter. Windows Terminal and PowerShell run the same commands, so use whichever you find. You will see a prompt that ends in >, waiting for you to type.

  2. Check that SSH is installed

    Windows 10 and 11 normally include the OpenSSH client. Type this and press Enter. You should see a version line starting with OpenSSH. If Windows says the command is not recognised, open Settings, Apps, Optional features, choose Add a feature and install OpenSSH Client.

    powershell
    ssh -V
  3. Create your SSH key

    Press Enter to accept the default file location. A passphrase is optional: it locks the key file with a password, which is a good idea on a computer other people use. Windows makes two files in C:\Users\your-name\.ssh\: id_ed25519 is the private key (never share it) and id_ed25519.pub is the public key (safe to share).

    create a key
    ssh-keygen -t ed25519 -C "my-laptop"
  4. Copy the public key

    This copies the contents of the public key file to your clipboard. It is one line that starts with ssh-ed25519.

    powershell
    Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-Clipboard

    In the older Command Prompt, use type %USERPROFILE%\.ssh\id_ed25519.pub | clip instead.

  5. Add the key to your account

    Paste the line you copied into the portal. You can do it in two places: on the Account page under SSH keys, or on the New instance page in the box labelled “Or paste a new public key”. Only the .pub file goes in the portal.

  6. Create an instance and copy its SSH command

    Create a box (a template is a friendly start) and tick your key. When the instance page says running, copy the SSH command shown in the Connect card. It looks like this, with your own port and address:

    connect
    ssh -p 22345 [email protected]
  7. Paste it into your terminal and press Enter

    The first time you connect to a new box, SSH asks whether you trust it. This is normal. Type yes and press Enter. If you protected your key with a passphrase, you will be asked for it now.

    first connection
    The authenticity of host '[203.0.113.10]:22345' can't be established.ED25519 key fingerprint is SHA256:...Are you sure you want to continue connecting (yes/no/[fingerprint])? yes root@my-box:~#

    A prompt that ends in # means you are in. Every command you type now runs on the devbox in Singapore, not on your computer. Type exit to leave; the box keeps running.

If something goes wrong

“Permission denied (publickey)”

The box does not recognise your key. Check that you ticked your key when you created the instance, or add it later from the Access tab on the instance page. Also make sure you are logging in as root, as in the command shown on the instance page.

“Connection timed out” or “Connection refused”

First check that the instance says running, and copy the command again so the port is exact. Some school, work and public Wi-Fi networks block connections to unusual ports. If you suspect that, try another network such as your phone's hotspot.

“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED”

This usually happens after you delete a box and create a new one that gets the same address and port. Your computer remembers the old box. Remove the old entry with ssh-keygen -R "[203.0.113.10]:22345", using your own address and port, and connect again.

My terminal says the command was not found

Check for typos and make sure you are typing it on your own computer, not inside the box. On Windows, make sure the OpenSSH Client is installed (the ssh -V step above).

Your first 15 minutes

A short list of things to try once you are connected. Tick them off as you go. The times are rough guides, not targets.

0 of 10 done

Set up about 5 minutes

Look around about 3 minutes

  • terminal
    whoamipwdlscat /etc/os-release

Make something about 5 minutes

  • terminal
    echo "hello from my devbox" > hello.txtcat hello.txt
  • terminal
    apt updateapt install -y treetree
  • terminal
    df -h /free -h

Tidy up about 2 minutes

Staying safe and in budget

Do

  • Use an SSH key, and keep the private key (the file without .pub) to yourself. Only the .pub file goes into the portal.
  • Add a passphrase to your key if other people use your computer.
  • Copy files you care about to your own computer. Instances are not backed up.
  • Read a command before you paste it, especially ones with rm -rf or ones that pipe a download into sh.
  • Keep databases private. The database templates only listen inside the box, and the instance page shows how to reach them with an SSH tunnel.
  • Delete boxes you have finished with.

Do not

  • Do not share your root password or private key in a chat, email, screenshot or support request.
  • Do not run commands from the internet that you cannot explain. That is a common way for beginners to break things.
  • Do not reuse your portal password as a root password.
  • Do not open ports to the internet that you do not need.
  • Do not use a devbox to send email, scan other people's networks, mine cryptocurrency or run a proxy. See the acceptable use policy.
  • Do not assume that stopping a paid box saves money. It does not.

Costs: stop vs delete

Stop

Pauses the box and keeps its files. A paid instance is still billed while stopped. Free-trial time only counts while the box is running.

Delete

Removes the box and its disk permanently, and ends the billing. There is no undo and there are no backups.

Budget

A Devbox is S$0.025 per instance hour, about S$0.60 for 24 hours. You can set an automatic deletion when you create one. At zero wallet balance, running boxes stop and are deleted after 15 minutes.

Copying files off a box is covered in the FAQ below. A quick example, run on your own computer:

copy a file from the box
scp -P 22345 [email protected]:/root/notes.txt .

Newcomer FAQ

Can I damage my own computer with this?

No. A devbox is a separate computer in a data centre. Commands you run in the terminal only affect the devbox. The worst that can happen is that you delete the box and create a fresh one.

I broke my devbox. What now?

Delete it and create a new one. A template gives you the same starting point every time, which makes it a good place to experiment. Anything you had on the old box is gone, so copy files you care about to your own computer first.

Do I need to know Linux or how to code?

No. The Learn Linux template has short lessons that start from zero, and this page covers the basics of connecting. If you can copy and paste a command, you can get started.

Why does nothing appear when I type my password?

SSH hides passwords completely, not even dots. Type or paste it anyway and press Enter. If you get “Permission denied”, try again, and check that you are logging in as root.

What is the difference between stop and delete?

Stop pauses the box but keeps its files, and a paid instance is still billed while stopped. Delete removes the box and its disk for good and ends the billing. On the free trial, only the time the box is running counts, so stop it when you take a break.

How do I get files onto the box, or off it?

Use scp from your own computer (not from inside the box). Note that scp takes a capital -P for the port: scp -P 22345 notes.txt [email protected]:/root/ uploads a file, and scp -P 22345 [email protected]:/root/notes.txt . downloads one. Windows 10 and 11, macOS and Linux all include scp.

Can I use a desktop or graphical programs?

No. A devbox is a text-only Linux box, with no desktop screen. If you want an editor with a window, the VS Code in your Browser template gives you one in any web browser.

How do I show my website to other people?

The web templates start with their own public https address, which you can share. On a blank box, open the Connect tab on the instance page and assign a random public port to the port your program uses.

What happens after the 2 free hours?

The trial box stops when its 2 running hours are used up, and the trial is over for that account. To keep going, add credit to your wallet (minimum S$6) and create a Devbox at S$0.025 per instance hour.

Which operating system should I pick?

If you are not sure, pick Ubuntu 24.04 LTS. It is what all the templates use, and most tutorials you find online assume Ubuntu or Debian.

Is it safe to keep important data there?

Treat it as a place for practice and development. Instances are not backed up and the service is in private beta, so keep your own copies of anything you cannot afford to lose.

Ready to try it?

Create an account, verify your email and start the free trial with a template. The portal walks you through each step.