Shellway
Self-service server commands with a command-by-server grant matrix, encrypted credentials, host-key pinning, and an audit log of every run.
- Scope
- Web App, DevOps, Security
- Role
- DevOps Intern
- Client
- PT Agate International
- Year
- 2026
Overview
Shellway runs predefined commands on one or many servers at once. A runner picks a command and the servers they are allowed to touch, and sees each server's output as it finishes. Admins manage users, SSH users, servers, commands, and grants.
It went from first commit to production in about a week, and it now runs at Agate behind the DevOps team's GitLab pipeline.
Challenge
Routine work like restarting a service or checking a log needed someone who held SSH access to that server. Sharing keys removes the bottleneck but loses track of who did what.
The tool had to let people run exactly the commands they were allowed to, on exactly the servers they were allowed to, without ever typing a free-form command, while keeping the secrets that open those servers away from everyone using it.
Approach
I directed AI coding agents to build it with Node.js, Express, SQLite, and React. A runner can run a command on a server only when four checks pass: a grant for that runner, command, and server, permission to use the chosen SSH user, that SSH user being valid on the target, and the command not being admin-only. The browser only sends IDs, and the script is loaded from the database and copied into the run record, so the audit log shows exactly what ran.
SSH credentials are encrypted with AES-256-GCM and never sent back through the API. Host keys are pinned by SHA256 fingerprint, set by an admin or saved on first login, and a changed key stops the connection before any secret is sent. Each run is capped at 5 minutes and 1 MB of output, with up to 100 concurrent runs per user.
Outcome
Shellway deploys through a two-stage GitLab CI pipeline: tests run inside the Docker build, and the deploy fails if the container does not pass its health check. After launch I added custom scripts with variables, SFTP downloads, cron schedules, and limits that admins can adjust.
It is covered by more than 370 automated tests across the server and the web app, including integration tests against a test SSH server.
LET'S WORK TOGETHER
akmalzaidan960@gmail.com


