[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() ssh.l

[paramiko] Timeout

2010-03-13 Thread Nikolaus Rath
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 Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C

[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 sti

Re: [paramiko] Timeout

2010-03-13 Thread Charles Duffy
The latter. On Sat, Mar 13, 2010 at 3:06 PM, Nikolaus Rath 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 Banana.«

Re: [paramiko] Handling the background thread

2010-03-13 Thread james bardin
On Sat, Mar 13, 2010 at 7:08 PM, Nikolaus Rath 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 been set to