Is a Termux-to-Arch SSH Lab a Good Way to Learn Linux Administration?

August 13, 2026 4 answers
Asked by pluto.is.small
I'm learning Linux administration and want a practical environment where I can experiment instead of only memorizing commands. My current setup is an Android phone running Termux, connecting over SSH to an Arch Linux laptop that I'm using as a small practice server. I've installed and configured OpenSSH, started the sshd service, confirmed that it is listening on port 22, and identified the laptop's local IP address. I'd like to practice users and groups, permissions, SSH management, processes, systemd services, networking, package management, logs, storage, scheduled tasks, firewalls, hardening, and troubleshooting. I understand this won't perfectly reproduce a production environment, but it seems useful for learning safely. Is this a sensible approach, or would local terminal work and virtual machines be better? Are there particular tasks, services, or topics I should add to make the lab more realistic?

Answers

lilac hedge
Make the lab task-based rather than just a collection of commands. Create and manage users with different group memberships, configure SSH keys and disable unnecessary access, set up a web service, inspect logs with journalctl, monitor processes and resource usage, create systemd timers, manage firewall rules, expand or fill a test filesystem, and write backup and restore procedures. Deliberately break services or permissions, then troubleshoot them. Keep notes and use snapshots or virtual machines so experiments are safe.
Reply to this answer
so-far-so-good
Itโ€™s a perfectly reasonable way to get comfortable with Linux, especially if the laptop is on your own network and you can reset things when you make mistakes. The main benefit is having a real system to administer, but donโ€™t treat phone-based SSH as essential. Practicing directly in the laptopโ€™s terminal is usually faster and more comfortable. Add a few virtual machines when you want to practice remote administration, networking between hosts, backups, or failure recovery.

pluto.is.small: I started with the phone connection after learning about ps and thinking about how administrators manage servers remotely. Iโ€™ll also practice directly on the laptop and add virtual machines as I progress.

Reply to this answer
Kinematics
Arch is useful for understanding Linux, but it doesnโ€™t closely resemble every workplace environment. Once youโ€™re comfortable with the basics, build another VM using Rocky Linux, RHEL, Debian, or Ubuntu Server. That lets you compare package managers, default configurations, service layouts, security policies, and administration practices across distributions.

pluto.is.small: Iโ€™m using Arch first because I want to understand the system from the ground up. Later Iโ€™ll add a RHEL-compatible distribution and practice a more corporate-style setup.

Reply to this answer
~all folded up
For a more realistic setup, use two or three virtual machines: one administration workstation, one server, and perhaps a client or monitoring host. Practice DNS or host resolution, static and dynamic addressing, file transfers, service dependencies, account recovery, package updates, log rotation, backups, and basic hardening. The important skill is learning how to diagnose a problem methodically, not just learning individual commands.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions