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
On Wed, 2009-06-24 at 15:22 -0700, Frank Ruiz wrote:
> Greetings,
>
> I am trying to process multiple commands using paramiko. I have
> searched other threads, and I think my use case is a little different.
> I am trying to login to a storage node that has a special shell, and
> as such I cant exe
On Wed, Jun 24, 2009 at 8:35 PM, Frank Ruiz wrote:
> Hi Jon,
>
> Thanks for the reply. So there are no errors. Essentially everything
> runs as planned. Sorry for being ignorant, but I am not sure if there
> is another way for providing trace data. I will look into what other
> debugging I can prov
Hi Jon,
Thanks for the reply. So there are no errors. Essentially everything
runs as planned. Sorry for being ignorant, but I am not sure if there
is another way for providing trace data. I will look into what other
debugging I can provide.
Essentially what happens is that only the second command
On Jun 24, 11:22 pm, Frank Ruiz wrote:
> Greetings,
>
> I am trying to process multiple commands using paramiko. I have
> searched other threads, and I think my use case is a little different.
> I am trying to login to a storage node that has a special shell, and
> as such I cant execute a script
Greetings,
I am trying to process multiple commands using paramiko. I have
searched other threads, and I think my use case is a little different.
I am trying to login to a storage node that has a special shell, and
as such I cant execute a script on the storage node side.
I am also trying to avoi
Frank Ruiz wrote:
Apologies.. Python newb here.. switching from perl to python.. so
please forgive if this is a dumb question.
I am using the paramiko module and have some global variables defined.
i.e.
hostname = ' 10.10.10.10'
sshport = '22'
I am then trying to pass this variable into the c
On Wed, Jun 24, 2009 at 2:01 PM, Frank Ruiz wrote:
> Apologies.. Python newb here.. switching from perl to python.. so
> please forgive if this is a dumb question.
>
> I am using the paramiko module and have some global variables defined.
>
> i.e.
>
> hostname = ' 10.10.10.10'
> sshport = '22'
I'm
On Jun 24, 10:01 pm, Frank Ruiz wrote:
> Apologies.. Python newb here.. switching from perl to python.. so
> please forgive if this is a dumb question.
>
> I am using the paramiko module and have some global variables defined.
>
> i.e.
>
> hostname = ' 10.10.10.10'
> sshport = '22'
>
> I am then t
Apologies.. Python newb here.. switching from perl to python.. so
please forgive if this is a dumb question.
I am using the paramiko module and have some global variables defined.
i.e.
hostname = ' 10.10.10.10'
sshport = '22'
I am then trying to pass this variable into the client connect method
17 matches
Mail list logo