Hacker News new | ask | show | jobs
by layer8 1515 days ago
> I realised half-way through this project that the "right" way to solve this problem would be by building a client-server shell (not SSH, which is not a shell). A shell where all the interactive elements run on the client and the remote server accepts commands over a socket. However I could not find such a shell. I'll leave this as an exercise to the reader.

It would be interesting to split Bash into a front end and back end, with the ability to plug different protocols in between.

4 comments

This is PowerShell’s remoting model! It supports different transports (SSH, WSMan), keeps interactive elements on the client side, and effects actions on the server side.
Userspace terminals look like a very good solution to a large set of problems that really should not exist, but do nonetheless.
Whats wrong with the pty-forwarding approach used by SSH?
Apparently the fact that it doesn’t work on AWS, per the TFA.
jupyter?