Re: [ansible-project] How Network Modules using openssh controlpersist feature?

2016-09-22 Thread Peter Sprygada
If I want to use openssh ControlPersist function or similar feature, I can't use module_util/shell.y & basic.y, I have to write myself basc library? > Yes, it would require a completely new SSH library (or changes to paramiko) to support the same functionality as ControlPersist. The updates

Re: [ansible-project] How Network Modules using openssh controlpersist feature?

2016-09-21 Thread jacky . gao2016
*If I want to use openssh ControlPersist function or similar feature, I can't use module_util/shell.y & basic.y, I have to write myself basc library? * *Is there any other featuca to avoid SSH authentication for each task?* 在 2016年9月21日星期三 UTC+8上午3:26:33,Peter Sprygada写道: > > No, there is no

Re: [ansible-project] How Network Modules using openssh controlpersist feature?

2016-09-20 Thread Peter Sprygada
No, there is no support for ControlPersist (or similar) in the paramiko library. On Tue, Sep 20, 2016 at 9:48 AM, wrote: > I find that the Network Modules must use paramiko, does paramiko support > openssh ControlPersist similar feature? > > > building ssh connection by

[ansible-project] How Network Modules using openssh controlpersist feature?

2016-09-20 Thread jacky . gao2016
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,