Hi,
Could you be more specific about your problem? Perhaps an example of
something similar to what you're trying to do would be helpful.
Usually the process is to instantiate paramiko.SSHCLIENT, use the connect()
method with desired parameters and execute commands using the
exec_command(). If
Hi Sreenathan Nair:
import os, sys,
import connectlibs as ssh
s = ssh.connect(xxx.xx.xx.xxx, Admin, Admin)
channel = s.invoke_shell()
channel.send(net use F: xyz.xy.xc.xa\\dir\n)
32
channel.send(net use\n)
7
channel.recv(500)
'Last login: Tue Jun 2 23:52:29 2015 from
Using paramiko's exec_command(), i would like to send a command, process its
output and do it for several other commands. I notice that its not quick enough
or something like that.
How would I handle that scenario AND also providing multiple commands together
(there is 1 post on stackoverflow