summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2004-04-06 08:16:02 +0000
committerRobey Pointer <robey@lag.net>2004-04-06 08:16:02 +0000
commit945a41dd3d2cf7f3d37012c588d8eb07bcc296b2 (patch)
tree112de2889851b2515994cbaab42bf3f868d0939e /README
parented72847ad1e392af6bb8920176c30548c68ddb23 (diff)
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-42]
support py22, more or less add roger binns' patches for supporting python 2.2. i hedged a bit on the logging stuff and just added some trickery to let logging be stubbed out for python 2.2. this changed a lot of import statements but i managed to avoid hacking at any of the existing logging. socket timeouts are required for the threads to notice when they've been deactivated. worked around it by using the 'select' module on py22. also fixed the sftp unit tests to cope with a password-protected private key.
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 10 insertions, 2 deletions
diff --git a/README b/README
index b7284cc2..ab9b2102 100644
--- a/README
+++ b/README
@@ -9,7 +9,7 @@ http://www.lag.net/~robey/paramiko/
*** WHAT
"paramiko" is a combination of the esperanto words for "paranoid" and "friend".
-it's a module for python 2.3 that implements the SSH2 protocol for secure
+it's a module for python 2.2+ that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. unlike SSL (aka
TLS), SSH2 protocol does not require heirarchical certificates signed by a
powerful central authority. you may know SSH2 as the protocol that replaced
@@ -27,6 +27,7 @@ should have come with this archive.
*** REQUIREMENTS
python 2.3 <http://www.python.org/>
+ (python 2.2 may work with some pain)
pyCrypt <http://www.amk.ca/python/code/crypto.html>
PyCrypt compiled for Win32 can be downloaded from the HashTar homepage:
@@ -46,6 +47,13 @@ it changes behavior in some fundamental ways, and these ways require posix.
so don't call "fileno()" on a Channel on Windows. this is detailed in the
documentation for the "fileno" method.
+python 2.2 may work, thanks to some patches from Roger Binns. things to watch
+out for:
+* sockets in 2.2 don't support timeouts, so the 'select' module is imported
+ to do polling. this may not work on windows. (works fine on osx.)
+* there is no logging, period.
+you really should upgrade to python 2.3. laziness is no excuse!
+
*** DEMO
@@ -81,7 +89,7 @@ which actually motivated me to write more documentation than i ever would
have before.
there are also unit tests here:
- $ python2 ./test.py
+ $ python ./test.py
which will verify that some of the core components are working correctly.
not much is tested yet, but it's a start. the tests for SFTP are probably
the best and easiest examples of how to use the SFTP class.