Re: OpenSSH socket forwarding in ssh_config file?

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

 



Cameron Simpson:

> I don't mean TCP forwards but UNIX domain socket forwarding. I use 
> LocalForward extensively in my ssh configs for tunnels, but although 
> these command line options:
> 
>     -L [bind_address:]port:host:hostport
>     -L [bind_address:]port:remote_socket
>     -L local_socket:host:hostport
>     -L local_socket:remote_socket
> 
> work just fine for UNIX domain sockets, all my efforts with UNIX socket 
> file paths have met with failure in the ssh config file,

Looking at the configuration and argument handling code, I don't
see why they shouldn't work.  And some quick checks show them to
be working.

Are you confused about the syntax?  The LocalForward option requires
source and destination to be separated by whitespace, e.g.

  LocalForward /path/to/socket host:4711
  LocalForward /local/socket /remote/socket

> and the ssh_config(5) manual entry doesn't mention them.

This looks like an accidental omission.

-- 
Christian "naddy" Weisgerber                          naddy@xxxxxxxxxxxx
_______________________________________________
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