top | item 39625737

(no title)

azophy_2 | 2 years 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

discuss

order

nico|2 years ago

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?

cookiemonsieur|2 years ago

I've always wondered how to build SSH based applications. If anyone has any pointers I'd be extremely grateful.

nico|2 years ago

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