[paramiko] Problem connect to cisco asa devices

2010-03-13 Thread Florian Koch
hi @all, I try to connect to a cisco asa, but I always get an paramiko.AuthenticationException. Here is the code: (I have replaced the IP,User,Passwd with xxx in the code and tracebak) #!/usr/bin/env python import paramiko ssh = paramiko.SSHClient()

[paramiko] Handling the background thread

2010-03-13 Thread Nikolaus Rath
Hello, Is there a way to convince Paramiko to start its background thread as a daemon thread, so that it does not prevent the interpreter from terminating? I am facing the problem that my program does not terminate when there is an uncaught exception, because the Paramiko background thread is

Re: [paramiko] Timeout

2010-03-13 Thread Charles Duffy
The latter. On Sat, Mar 13, 2010 at 3:06 PM, Nikolaus Rath nikol...@rath.org wrote: Hello, What happens if my SSH connection times out? Will Paramiko transparently try to reconnect, or am I going to get exceptions? Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a

Re: [paramiko] Handling the background thread

2010-03-13 Thread james bardin
On Sat, Mar 13, 2010 at 7:08 PM, Nikolaus Rath nikol...@rath.org wrote: Hello, Is there a way to convince Paramiko to start its background thread as a daemon thread, so that it does not prevent the interpreter from terminating? Are you running the latest version? The transport threads have