3 ms·
Is there a program out there that will expose a Unix socket as a named pipe or something that can be read to and written from like a file? That way you could ta
by nerdponx 9y ago
Is there a program out there that will expose a Unix socket as a named pipe or something that can be read to and written from like a file? That way you could take care of this with SSH tunneling.
edit: I meant "port", not "socket"! But apparently this is basically what netcat does by default.
- jlgaddis 9y agosocat
- sonofgod 9y agomuch doge, wow
- falcolas 9y agoWell, your basic SSH does this pretty much by default. Whatever program you execute remotely is handed stdin/stdout/stderr from your local terminal. That's why you can do things like `ssh <foo> -e 'cat somefile' > some_localfile` It's not always recommended, but possible.
- tzahola 9y agolike netcat?