``` >>> 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 <kaushalshri...@gmail.com> wrote: > > > On Thu, Apr 15, 2021 at 9:14 PM Brandon Whaley <redkr...@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 > >