Hello,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
I get
Thanks ,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
answer = ssh.exec_command('ls Documents/ ') print (answer)
I get
(<paramiko.ChannelFile from <paramiko.Channel 1 (open) window=2097152 -> <paramiko.Transport at 0xa267a440 (cipher aes128-ctr, 128 bits) (active; 1 open channel(s))>>>, <paramiko.ChannelFile from <paramiko.Channel 1 (open) window=2097152 -> <paramiko.Transport at 0xa267a440 (cipher aes128-ctr, 128 bits) (active; 1 open channel(s))>>>, <paramiko.ChannelFile from <paramiko.Channel 1 (open) window=2097152 -> <paramiko.Transport at 0xa267a440 (cipher aes128-ctr, 128 bits) (active; 1 open channel(s))>>>)what do I need to in order to see the command replay ? (which is in this case - a list of the files inside the folder )
Thanks ,