Hacker News new | ask | show | jobs
by azophy_2 835 days ago
would be interesting to turn this into something like `npx commandjobs` or `ssh commandjobs.com` so you wouldn't even need to install new software
3 comments

Love the ideas, especially the ssh one, it's something that I had been fantasizing about

My first year of college, the school had a Telnet-based application to request classes, it would be amazing to build something like that

Any pointers on how to build the npx installer?

There is something similar https://github.com/alexpovel/ancv/
This looks really cool, thank you for sharing!
I've always wondered how to build SSH based applications. If anyone has any pointers I'd be extremely grateful.
My uninformed understanding, is that you allow people to login into an actual user account within the system, but then you replace their shell (usually you change something like /bin/sh to /usr/bin/ssh_application in the entry for that account within the /etc/passwd file), so when someone logs into that account, instead of running an "open" shell, they get the application instead, and when the application exits, the session ends

So essentially you should be able to create an ssh application with just a shell script