No, there is no support for ControlPersist (or similar) in the paramiko
library.

On Tue, Sep 20, 2016 at 9:48 AM, <jacky.gao2...@gmail.com> wrote:

> I find that the Network Modules must use paramiko, does paramiko support
> openssh ControlPersist similar feature?
>
>
> building ssh connection by paramiko: Code in module_util/shell.py
>
>
> def open(self, host, port=22, username=None, password=None,
>         timeout=10, key_filename=None, pkey=None, look_for_keys=None,
>         allow_agent=False):
>
>     self.ssh = paramiko.SSHClient()
>     self.ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/ed3f80a3-35b1-4eb7-a344-e38bfac76165%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/ed3f80a3-35b1-4eb7-a344-e38bfac76165%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEkdrMiajQWqEHnZJp_fDAnRLRwkBeAMZ4%3DN%2BmCvNsLgk2H%2Bag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to