[systemd-devel] lazy forwarding of ssh ports
Igor Bukanov
igor at mir2.org
Mon Feb 4 06:15:29 PST 2013
Thanks again! I have completely missed this new feature of ssh.
On 2/3/13, Mantas Mikulėnas <grawity at gmail.com> wrote:
> 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