|
From: | Kaushal Shriyan |
Subject: | Re: ModuleNotFoundError: No module named 'fabric.api' |
Date: | Fri, 16 Apr 2021 12:36:05 +0530 |
```
>>> connection = Connection(host="192.168.0.188", user="root", port=22, connect_kwargs={"password":"test@#!123"})
>>> result = connection.run('uname -a')
```
On Thu, Apr 15, 2021 at 1:20 PM Kaushal Shriyan
<kaushalshriyan@gmail.com> wrote:
>
>
> On Thu, Apr 15, 2021 at 9:14 PM Brandon Whaley <redkrieg@gmail.com> wrote:
>>
>> The connection object you're making is just a dictionary. Those keys should be keyword arguments to the Connection constructor you imported.
>>
>
> Thanks Brandon for the email. I am not sure if I completely understood it. Please help me understand with some examples. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |