Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userauth_publickey_fromfile not implemented? #7

Open
bortzmeyer opened this issue Oct 13, 2011 · 1 comment
Open

userauth_publickey_fromfile not implemented? #7

bortzmeyer opened this issue Oct 13, 2011 · 1 comment

Comments

@bortzmeyer
Copy link

When I use, per the documentation:

session.userauth_publickey_fromfile(
"stephane", os.path.expanduser('/.ssh/id_rsa.pub'), os.path.expanduser('/.ssh/id_rsa'), "secretphrase")

I get:

Traceback (most recent call last):
File "test.py", line 12, in
"stephane", os.path.expanduser('/.ssh/id_rsa.pub'), os.path.expanduser('/.ssh/id_rsa'), "secretphrase")
File "/usr/lib/pymodules/python2.6/libssh2/session.py", line 287, in userauth_publickey_fromfile
raise NotImplementedError()
NotImplementedError

Debian "squeeze" (the stable version) :
Python libssh2 1.0.0

Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2

@aaloksood
Copy link
Contributor

Please close this issue as userauth_publickey_fromfile() is implemented now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants