Hi all,
I am using Paramiko in my python code (for sftp). Everything works fine except that everytime I import or call a paramiko function. This warning would show up:
C:\Python26\lib\site-packages\Crypto\Util\randpool.py:40: RandomPool_Deprecation
Warning: This application uses RandomPool, which is BROKEN in older releases. S
ee http...
How can I get data from paramiko channel class in real-time? I have 2 functions, the first one calls the second one from a HttpResponse (a generator basically):
return HttpResponse(ssh_exec(request, job_id))
ssh_exec:
def ssh_exec(request, job_id):
job = ssh_job.objects.get(id=job_id)
cmd_to_use = str(job.command)
client = par...
Seems to be that PyCrypt is required to be ported, in order to make that happen. Is it hard to do yourself?
...
I am having serious issues setting up a proper tunnel in paramiko to enable a database connection. I have reviewed the example 'forward.py', but am not understanding how to then link the database connection to it. Any pointers woudl be much appreciated.
I think I need something the following:
t = paramiko.Transport((hostname, port))
...