On Wed, Jan 30, 2013 at 12:52 AM, Igor Bukanov <i...@mir2.org> wrote: > On 29 January 2013 00:25, Mantas Mikulėnas <graw...@gmail.com> wrote: >> systemd only handles accepting connections, but does not copy any >> data – ssh's stdin & stdout are attached directly to the socket. > > Right, how can I missed that socket<->stdio bindings happens in kernel > that know how to transfer packets efficiently... > > So the whole setup is not that bad. I just wish that I could avoid the > nc command on the server and ssh had an option to connect to a socket > directly without netcat involvement. But this has nothing to do with > systemd.
Apparently, ssh has an option "-W host:port" to do just that. -- Mantas Mikulėnas _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel