SSH access
Connecting
SSH lets you take control of your server from another computer on the network. It is the normal way to administer Calaos OS.
Open a terminal — the Terminal application on macOS and Linux, PowerShell or Windows Terminal on Windows — then:
The password is the one you set in Changing the passwords. By default it is calaos, which is only acceptable for as long as it takes you to change it.
On the first connection your computer asks you to confirm the machine’s fingerprint: answer yes. And while you type the password, nothing is displayed — that is normal.
To disconnect:
Key authentication
Safer and more convenient than a password, it is recommended as soon as your server is reachable from outside.
On your computer, if you do not have a key yet:
Then install it on the server:
Subsequent connections no longer ask for a password.
Once the key is confirmed working, you can forbid password login by adding PasswordAuthentication no to /etc/ssh/sshd_config, then restarting the service:
Check that your key works before disabling passwords, by opening a second session without closing the first. Otherwise a configuration mistake would lock you out, and you would need a screen and a keyboard on the machine to recover.
Without a network
If the server is no longer reachable, connect a screen and a keyboard directly to it: you get a local terminal, where all the commands in this documentation work identically.
Useful commands
System state
Logs
See Logs.
Containers
Containerised services are driven with systemctl, like all the others. Podman only gives a complementary view, handy for diagnosis:
See Services and modules.
Disk and restore points
See Under the hood.
System and network
Copying files
To fetch a file from the server:
To send one to the server:
Good practice
Your manual changes can be overwritten by an update. System files belong to the installed packages: if you edit a configuration file by hand, the next update of that package may replace it.
Two exceptions: the /mnt/calaos folder, which holds your data and is never touched, and the settings made with calaos_config or calaos-os, which are designed to last.
Finally, remember that a rollback restores the whole system, including /mnt/calaos: it will therefore repair a bad move, but at the same time undo the configuration done since the chosen restore point. See Rolling back and Backing up your configuration.