Re: ControlPath and differing ssh options?

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

 



If one wants to go this way, then I just discovered Tags 

it should work like this (I haven’t tested it and never used tags)

Match tagged FA
  ForwardAgent yes
  ControlPath ~/.ssh/controlmaster-%r@%h-%p-forwardagent
  ControlMaster off
  …

and then to have a session with forwarding:

ssh -P FA user@host

But I still think we should be able to setup ssh to just do the right thing if the options differ in general.

Jan


> On 28. 1. 2025, at 14:36, Brian Candler <b.candler@xxxxxxxxx> wrote:
> 
> Just tested:
> 
> alias ssha="ssh -A -o ControlPath=%d/tmp/ssh_mux-a_%h_%p_%r"
> 
> It works. I might keep it. Thanks for the idea :-)

_______________________________________________
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