[systemd-devel] lazy forwarding of ssh ports

Mantas Mikulėnas grawity at gmail.com
Sun Feb 3 14:08:51 PST 2013

On Wed, Jan 30, 2013 at 12:52 AM, Igor Bukanov <igor at mir2.org> wrote:
> On 29 January 2013 00:25, Mantas Mikulėnas <grawity at 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

More information about the systemd-devel mailing list