Is Using Termux to SSH Into an Arch Laptop a Good Linux Admin Practice Lab?
Asked by
MellowPine47
I'm learning Linux administration and want a hands-on environment instead of practicing only theoretical commands. My current setup is an Android phone running Termux, which connects over SSH to my Arch Linux laptop. I've installed and configured OpenSSH, started the sshd service, confirmed that it is listening on port 22, and checked the laptop's local IP address. I plan to use the laptop as a small practice server and manage it remotely from Termux. I'd like to practice users and groups, permissions, SSH administration, processes and services, systemd, networking, package management, logs, storage, cron or systemd timers, firewalls, hardening, and troubleshooting. I understand this won't fully replicate production, but is it a worthwhile way to learn? Should I use a server-focused distribution or virtual machines instead, and what practical tasks should I add next?
Answers
A useful progression is to document each change, apply it manually first, then try automating it with shell scripts or a configuration-management tool. Build a small service such as a web server, restrict access to it, collect its logs, back it up, and deliberately break parts of the setup so you can diagnose them. Keep the lab isolated from important personal data and avoid exposing SSH directly to the internet while experimenting.
Reply to this answer
Your laptop can be the practice server, but you donโt have to use the phone for every exercise. Working directly in the laptopโs terminal is usually faster and less frustrating than typing long commands on a phone. SSH from Termux is still useful because it gives you practice with remote administration. For a stronger lab, create a few virtual machines and manage them over SSH from the laptop or phone.
Reply to this answer
Focus on realistic tasks rather than just memorizing commands. Create and remove users, configure group access, fix deliberately broken permissions, set up SSH keys, disable unnecessary services, inspect journal logs, schedule jobs, configure a firewall, monitor processes and disk usage, and troubleshoot failed services. You can also practice backups and restores, hostname and DNS configuration, log rotation, software updates, and recovering from mistakes using snapshots.
Reply to this answer
The setup is fine for learning the basics, but using Arch alone wonโt reproduce every environment you may encounter professionally. Once youโre comfortable with Linux fundamentals, add a virtual machine running Rocky Linux, RHEL-compatible Linux, Ubuntu Server, or Debian. That will let you compare package managers, service defaults, security tools, and enterprise-style administration.
MellowPine47: That makes sense. Iโm starting with Arch to build my general Linux skills, then Iโll add a server-oriented distribution and practice managing a more corporate-style environment.
Reply to this answer
Add your answer
Answers are reviewed before publication.
MellowPine47: I wanted the phone connection because it resembles managing a remote server, but Iโll use the laptop terminal for longer exercises and keep Termux for remote-access practice.