SSH access to the printer
Most things on the G1 are done from the web interface. A few are not — recovering a broken update, reading a log that Mainsail will not show you, or downgrading a component. For those you need a terminal on the printer’s Raspberry Pi.
| Address | g1os.local — the same one you use in the browser |
| Username | pi |
| Password | raspberry |
Connecting
Section titled “Connecting”Windows
Section titled “Windows”Windows 10 and 11 include an SSH client, so nothing needs installing:
- Open PowerShell or Command Prompt
- Type
ssh pi@g1os.localand press Enter - The first time, it asks whether to trust the host — type
yes - Enter the password
raspberry. Nothing appears as you type — no dots, no stars. That is normal; type it and press Enter
PuTTY works too, if you prefer a window to a prompt: host g1os.local, port 22.
macOS and Linux
Section titled “macOS and Linux”- Open Terminal
ssh pi@g1os.local- Accept the fingerprint, then enter
raspberry
Where things live
Section titled “Where things live”| Path | What it is |
|---|---|
~/printer_data/config/ | Every configuration file Klipper reads |
~/printer_data/logs/ | klippy.log, moonraker.log, KlipperScreen.log |
~/printer_data/database/ | Moonraker’s database, and G1.Conf with the printer’s serial |
~/klipper/, ~/moonraker/, ~/mainsail/ | The components themselves |
~/G1-Configs/ | The shared Ginger layer — see G1OS software stack |
Commands worth knowing
Section titled “Commands worth knowing”Watch a log while something fails. This is the single most useful one — leave it running, reproduce the fault, and read what appears:
tail -f ~/printer_data/logs/klippy.logPress Ctrl+C to stop watching.
Check whether a service is running:
systemctl status klipper moonraker KlipperScreen g1-flaskRestart a service:
sudo systemctl restart klipperSee the version of a component:
cd ~/moonraker && git describe --tagsFree disk space, which matters because a full card corrupts the database:
df -h /- Do not edit files under
~/G1-Configs/. They are the shared layer and are replaced on the next update. Machine-specific changes belong inprinter.cfg - Do not run
sudocommands you found in a forum without knowing what they do. The Pi is the printer’s brain, and a wrong command means reflashing the card - Log out with
exit
Related notes
Section titled “Related notes”- G1OS software stack — what each service does
- G1OS installation — reflashing when it is beyond repair
- Klipper firmware update