pylibssh2 icon indicating copy to clipboard operation
pylibssh2 copied to clipboard

userauth_publickey_fromfile not implemented?

Open bortzmeyer opened this issue 12 years ago • 1 comments

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

bortzmeyer avatar Oct 13 '11 13:10 bortzmeyer