[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] How do I enable debugging when using API
From: |
Michael Gliwinski |
Subject: |
Re: [Fab-user] How do I enable debugging when using API |
Date: |
Fri, 8 Apr 2011 12:24:29 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.5.5; x86_64; ; ) |
On Tuesday 05 Apr 2011 13:38:31 Mohamed Lrhazi wrote:
> Thanks a lot Michael. I am getting an auth issue, but cant see what
> could be causing it :
>
> Note that I did set my password in the connect function call.
>
> /opt/ActivePython-2.6/lib/python2.6/site-packages/pycrypto-2.3-py2.6-linux-
> x86_64.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> application uses RandomPool, which is BROKEN in older releases. See
> http://www.pycrypto.org/randpool-broken
> DEBUG:paramiko.transport:starting thread (client mode): 0xba97db50L
> INFO:paramiko.transport:Connected (version 2.0, client 3.2.3)
...
> DEBUG:paramiko.transport:Authentication type (password) not permitted.
> DEBUG:paramiko.transport:Allowed methods: ['keyboard-interactive',
> 'address@hidden']
> INFO:paramiko.transport:Disconnect (code 2): Protocol error: packet 5
> in interactive
> Traceback (most recent call last):
> File "debugConn.py", line 11, in <module>
> c.connect(host, int(port), user, password='secretContainsDashes')
> File "build/bdist.linux-x86_64/egg/paramiko/client.py", line 327, in
> connect File "build/bdist.linux-x86_64/egg/paramiko/client.py", line 481,
> in _auth paramiko.BadAuthenticationType: Bad authentication type
> (allowed_types=['keyboard-interactive', 'address@hidden'])
Sorry for the delay.
Hmm, this looks like some paramiko bug, but can't quite track it down.
Initially I thought it may be something with keyboard-interactive auth, but I
just setup a server with all auth methods apart from keyboard-interactive
disabled and it still works.
Do you have any control over the server? Would you be able to try enabling
password or pubkey auth and checking if they work?
You could also try asking on paramiko ML [1], they might know.
[1]: http://www.lag.net/mailman/listinfo/paramiko
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**********************************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee and access to the email by anyone else
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is prohibited and
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail
are subject to the terms and conditions expressed in the governing client
engagement leter or contract.
If you have received this email in error please notify address@hidden
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland,
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************