Sagar,
Have you worked on RobotFramework-sshlibrary. It seem to have very simple
interface for both command processing/execution as well as interactive session
to grep responses and decide the flow.
Let me know if you face any issues. Can help you solve.
-paragm
On Thursday, August 8, 2013 at
On 11 August 2013 09:57, Chris Angelico wrote:
> On Thu, Aug 8, 2013 at 8:20 AM, sagar varule wrote:
>> stdin, stdout, stderr = client.exec_command(bv_cmd)
>> for line in stderr.readlines():
>> print line
>> for line in stdout.readlines():
>>
On Thu, Aug 8, 2013 at 8:20 AM, sagar varule wrote:
> stdin, stdout, stderr = client.exec_command(bv_cmd)
> for line in stderr.readlines():
> print line
> for line in stdout.readlines():
> print line
> But problem here is client.exec_command
On 11 August 2013 08:02, sagar varule wrote:
> On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
>> You also didn't say what didn't work with the first block of code.
>
> Submitting Command to Interactive Shell through code did not work.
In what way didn't it work? What's the
On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
> On 11 August 2013 06:18, sagar varule wrote:
>
> > Can any one comment on this..
>
>
>
> If you don't get replies here it's probably because no-one knows
>
> Paramiko. I suggest posting elsewhere to see if there are any P
On 11 August 2013 06:18, sagar varule wrote:
> Can any one comment on this..
If you don't get replies here it's probably because no-one knows
Paramiko. I suggest posting elsewhere to see if there are any Paramiko
users in other places willing to help. There might be a Paramiko
mailing list.
You
On Thursday, August 8, 2013 12:50:25 PM UTC+5:30, sagar varule wrote:
> Hi All,
>
>
>
> Im using Paramiko for my SSH automation. Im using method that is shown in
> demo_simple.py example which comes with Paramiko. Below is code from
> demo_simple.py.
>
>
>
> As you can make out, below code
Hi All,
Im using Paramiko for my SSH automation. Im using method that is shown in
demo_simple.py example which comes with Paramiko. Below is code from
demo_simple.py.
As you can make out, below code opens SSH connection and opens Interactie
Shell, and then wait for the command from user.
I wan