Status: New
Owner: ----
Labels: Type-Enhancememt Priority-Medium
New issue 64 by [email protected]: Pass paramiko options to connect
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=64
I need to have the ability to pass arguments to paramiko when creating the
connection.
I ran into a problem with "SSHD-CORE-0.6.0" which is a java based SSHD
server.
DEBUG:paramiko.transport:userauth is OK
DEBUG:paramiko.transport:Authentication type (publickey) not permitted.
DEBUG:paramiko.transport:Allowed methods: ['password']
INFO:paramiko.transport:Disconnect (code 2): Protocol error: expected
packet SSH_MSG_USERAUTH_REQUEST, got SSH_MSG_SERVICE_REQUEST
I'm not sure if the Java based SSHD client is doing it wrong or paramiko.
I found that using look_for_keys=False in the paramiko.SSHClient.connect()
method bypasses the publickey attempt and logs in successfully.
The SSHLibrary.login does not allow paramiko otpions to be passed to the
connection, I've attached a patch that will allow for a user to passing in
Key/Value pairs when calling login.
thanks
Attachments:
connect_options.patch 1.4 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.