Re: Feature Request: socket-passing support in ssh client

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Chris Mitchell wrote this message on Fri, Jan 14, 2022 at 13:01 -0400:
> On Fri, 14 Jan 2022 10:01:29 +1100
> Darren Tucker <dtucker@xxxxxxxxxxx> wrote:
> 
> > It's not exactly what you ask for later, but it's the exact
> > counterpart for sshd -i: you can run ssh under inetd (or similar) in
> > "netcat mode" (-W), where it will pass data on stdin/out to a remote
> > port forward.  You'd put something like this in inetd.conf:
> > 
> > ssh -W destinationhost:port intermediatehost
> 
> Ah-ha! I think that will do nicely for my purposes. I'll try my
> on-demand setup with that option and see what sort of trouble I can get
> myself into.

ControlMaster/ControlPath (see ssh_config(5)) can be used to send multiple
sessions over a single connection if that is so desired.

>From ControlMaster:
             These sessions will try to reuse the master instance's
             network connection rather than initiating new ones, but will fall
             back to connecting normally if the control socket does not exist,
             or is not listening.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux