3 ms·
> You want to send your data over ssh, but you also want to send commands over ssh (you can't do both at the same time, except in the command line which might n
by Hello71 13y ago
> You want to send your data over ssh, but you also want to send commands over ssh (you can't do both at the same time, except in the command line which might not be enough). You could send the data over a second ssh session - but then you can't do your preliminary commands first.
SSH already has a Control facility for this.
- ars 13y agoThat won't help. How would you feed the data to stdin of a command run in a different process? The Control facility is for multiplexing the data streams, but that solves a different problem.
- nine_k 13y agoThe Control facility lets you reuse the connection, bit not the session. So you still need two sessions, say, one ssh and one scp.