sigil icon indicating copy to clipboard operation
sigil copied to clipboard

Support multiplexing sessions with ControlPersist SSH options

Open klauern opened this issue 3 years ago • 5 comments

We have some users that are using sigil with the ProxyCommand through tools like Ansible and Chef Knife. We're getting some ThrottlingExceptions as sessions and commands are exiting and entering too quickly.

CleanShot 2020-11-17 at 11 00 31@2x

In looking at this, what would make it possible to implement support for reusing SSH sessions? I would like our users to add this to their ~/.ssh/config but this doesn't appear to be supported:

Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 600

https://puppet.com/blog/speed-up-ssh-by-reusing-connections/

CleanShot 2020-11-17 at 11 21 26@2x

klauern avatar Nov 17 '20 17:11 klauern

Thanks for reporting. I'll take a look at it during the weekend.

danmx avatar Nov 17 '20 17:11 danmx

Hello @danmx,

Did you have a chance this weekend to look at this?

klauern avatar Nov 23 '20 14:11 klauern

Unfortunately only briefly, I need to schedule some free time for it.

danmx avatar Nov 23 '20 14:11 danmx

@klauern from Thursday I'll be on holidays so I'll finally find some time to work on some of the issues

danmx avatar Dec 14 '20 14:12 danmx

potentially related: https://gist.github.com/netj/d9006a823163d7662d8ff105c9a49e0e

danieliziourov-form3 avatar Nov 03 '21 09:11 danieliziourov-form3