Eri Ramos Bastos
2009-11-09 00:47:16 UTC
Hello, List.
I'm trying to run this: http://pastebin.com/me01a0c4
And what I get is:
$ ./test.py
su: must be run from a terminal
I tried to add the line bellow after the connection is established,
without luck:
client.invoke_shell(term='xterm', width=80, height=24)
I get no errors, but nothing returns at the stdout as well.
I'm trying to understand how I should be doing it, but since I'm a
sysadmin (not a programmer) most of the documentation looks like greek
for me.
Any hints, please?
Regards,
Eri Ramos Bastos
I'm trying to run this: http://pastebin.com/me01a0c4
And what I get is:
$ ./test.py
su: must be run from a terminal
I tried to add the line bellow after the connection is established,
without luck:
client.invoke_shell(term='xterm', width=80, height=24)
I get no errors, but nothing returns at the stdout as well.
I'm trying to understand how I should be doing it, but since I'm a
sysadmin (not a programmer) most of the documentation looks like greek
for me.
Any hints, please?
Regards,
Eri Ramos Bastos