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