root@SuporteOS:/home/jefferson/Área de Trabalho# pythonPython 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
/usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
RandomPool_DeprecationWarning)
>>> ssh = paramiko.SSHClient()
>>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>>> ssh.connect('192.168.88.1', username='admin', password='tequila')
>>> stdin, stdout, stderr = ssh.exec_command('/system script run tla')
>>> List = []
>>> for line in stdout:
... List.append(line.replace('\r',''))
File "<stdin>", line 2
List.append(line.replace('\r',''))
^
IndentationError: expected an indented block
>>>