Commit Graph

672 Commits

Author SHA1 Message Date
Robey Pointer 613d2a2f24 [project @ robey@lag.net-20080322215455-xb70ktut2l1bkzsx]
patch from dwayne c. litzenberger to fix urandom support to work from
within a chroot. i modified it slightly to remove os.urandom calls
completely, since our direct file access is nearly identical to what
python was doing.
2008-03-22 14:54:55 -07:00
Robey Pointer 4f52c13900 [project @ robey@lag.net-20080220060035-yi82h5kc7jod5hlu]
add a demo for reverse port forwarding.
2008-02-19 22:00:35 -08:00
Robey Pointer 7ebda9a76d [project @ robey@lag.net-20080220060030-jih2gfguzp6jbwog]
verify WarningPolicy is exported
2008-02-19 22:00:30 -08:00
Robey Pointer ceb65ed55f [project @ robey@lag.net-20080220055938-c772bcrnw9lm2kcd]
for forwarded-tcpip connections, stuff the origin_addr in a public field in
the Channel, in case recipients find it useful info.
2008-02-19 21:59:38 -08:00
Robey Pointer 73c8dadb62 [project @ robey@lag.net-20080220055849-xmjvp8m0lqyz4cf1]
change -l to -p for consistency
2008-02-19 21:58:49 -08:00
Robey Pointer e963435e92 [project @ robey@lag.net-20080219075127-fx3aq6ijgm38oxy6]
cleaned up "forward" example.
2008-02-18 23:51:27 -08:00
Robey Pointer 3319f556d6 [project @ robey@lag.net-20080219074736-1fkyp8jl95amj5ky]
add WarningPolicy to SSHClient, which logs a warning when a server host key
isn't known, but allows the connection. also added an option to avoid
searching for private keys, and made it check ~/ssh/ for windows.
2008-02-18 23:47:36 -08:00
Robey Pointer 9e67c45053 [project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
2008-02-17 21:12:29 -08:00
Robey Pointer cb3a0a4c3d [project @ robey@lag.net-20080218045900-wh5168fjqq2o80kd]
merge patch from Dwayne Litzenberger that lets you ask an SSHClient not to
try agent-based auth.
2008-02-17 20:59:00 -08:00
Robey Pointer d81e0038d2 [project @ robey@lag.net-20080218024139-i2t8y0f0dd93xjo1]
bug 189466: fix typo in osrandom.py (from patch in bug report) and add a
friggin' unit test.
2008-02-17 18:41:39 -08:00
Robey Pointer 06faa6f2ed [project @ robey@lag.net-20080218003236-d2zgw43ys7xrccdx]
explain why we check ~/ssh/ in the demos
2008-02-17 16:32:36 -08:00
Robey Pointer 888aa8d5b7 [project @ robey@lag.net-20080124045017-dfqiamorj356btrd]
fix the utf-8 password bug for good (aka bug 177117) and add unit tests
this time.
2008-01-23 20:50:17 -08:00
Robey Pointer 953392c0a1 [project @ robey@lag.net-20080124014121-95bt9p4n4k8lw72i]
remove some now-unneeded code.
2008-01-23 17:41:21 -08:00
Robey Pointer 31544301f5 [project @ robey@lag.net-20080124013849-jno9xkgwvvqrvuov]
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
2008-01-23 17:38:49 -08:00
Robey Pointer 4031ae9292 [project @ robey@lag.net-20080122025908-h8xm28k72umoeo7y]
bump to version 1.7.2 (basil)
2008-01-21 18:59:08 -08:00
Robey Pointer 84eebc02f6 [project @ robey@lag.net-20080121194216-q3n5ovpeyiqjua6p]
patch from dwayne litzenberger to fix the PRNG to be more resilient when
using windows, and some forking/threading environments.
2008-01-21 11:42:16 -08:00
Robey Pointer 38835bc24c [project @ robey@lag.net-20080121190842-mq94nybu8qxhw1jl]
for password authentication, only utf-8 encode the password if it's in
unicode. this should let clients work around servers that expect non-utf-8
passwords (possibly because they predate the RFCs).
2008-01-21 11:08:42 -08:00
Robey Pointer ba1fd0d61b [project @ robey@lag.net-20071231052950-8h599bnez3sgbf2e]
patch from david guerizec for direct-tcpip forwarding support, and a unit
test added by yours truly.
2007-12-30 21:29:50 -08:00
Robey Pointer 06d3471b46 [project @ robey@lag.net-20071231003441-njdbcgbrqskrgtiw]
merge patch to allow bufsize param in SSHClient.exec_command()
2007-12-30 16:34:41 -08:00
Robey Pointer d70878831c [project @ robey@lag.net-20071231003259-xwwescnkvb3e6vxc]
be more explicit about setting buffering options, and make the default
be "unbuffered", because with buffering on, writes are buffered, which can
be very confusing over ssh and usually not what you want.
2007-12-30 16:32:59 -08:00
Robey Pointer a3128c63de [project @ robey@lag.net-20071230220403-9c9735x0tfr88dd8]
oops, fix typo.
2007-12-30 14:04:03 -08:00
Robey Pointer 92e92a9297 [project @ robey@lag.net-20071120052527-hloi0b30yngbay0x]
add send_ready() and a unit test.
2007-11-20 00:25:27 -05:00
Robey Pointer 2fcbacee7f [project @ robey@lag.net-20071119194455-u69od9ynz2n4x7ch]
merge tab fix
2007-11-19 11:44:55 -08:00
Robey Pointer db97851f36 [project @ robey@lag.net-20071110065222-xt335qy6c4s6flze]
patch from james bardin to allow closing an SSHClient more than once. :)
2007-11-09 22:52:22 -08:00
Robey Pointer 645bdfd861 [project @ robey@lag.net-20071110065121-76ooutayf5dvvuqh]
add get_transport() to fetch the Transport from an SSHClient.
2007-11-09 22:51:21 -08:00
Robey Pointer 9bc7c13ad7 [project @ robey@lag.net-20071110065103-a169t3ijqapq0zlo]
fix some typos.
2007-11-09 22:51:03 -08:00
Robey Pointer 758c18a28b [project @ robey@lag.net-20071029030520-ozmne7y4l6037m8h]
bug discovered while porting to jaramiko: old-style gex wasn't creating
the proper hash. fixed.
2007-10-28 20:05:20 -07:00
Robey Pointer e3d9b90ea1 [project @ robey@lag.net-20071029030344-9adfzb9ulfodtepu]
bug 157205: select() doesn't notify incoming stderr data, because stderr's
pipe isn't hooked up to the fileno() BufferedPipe. to fix, i added an "or"
pipe-event that can be triggered by either stdout or stderr, and hooked
them both up to fileno(). added a unit test for the bug and one for the
"or" pipe.
2007-10-28 20:03:44 -07:00
Robey Pointer 80b9e289ce [project @ robey@lag.net-20070924062534-5yemkpyjy2sssvjn]
bug 137219: handle EINTR in a read or write, if python doesn't.
2007-09-23 23:25:34 -07:00
Robey Pointer 2cf5448d43 [project @ robey@lag.net-20070901031348-6x0zif4cdtqu4vvu]
jon slavin points out that using the 'cmp' keyword is not compatible
with python 2.3.
2007-08-31 20:13:48 -07:00
Robey Pointer 39b45b4000 [project @ robey@lag.net-20070611044506-2c1c1t2avdr3yuaa]
bump up to 1.7.1 (amy)
2007-06-10 21:45:06 -07:00
Robey Pointer 7431c59c20 [project @ robey@lag.net-20070611044447-ewcm7qcrmtdfyspq]
change README to rest format
2007-06-10 21:44:47 -07:00
Robey Pointer 77c69301f4 [project @ robey@lag.net-20070611043523-ol2r0nbenkjc7abb]
create new TODO file
2007-06-10 21:35:23 -07:00
Robey Pointer 7c7880f368 [project @ robey@lag.net-20070611041319-llhshb80tvjvlhah]
move the news entries to a new rest file
2007-06-10 21:13:19 -07:00
Robey Pointer 946e4dbc29 [project @ robey@lag.net-20070521023545-8a36vex4ewgdxcwk]
merge in a modified form of a patch from alexander belchenko.  this lets
windows users use the 'win32all' module *or* the 'ctypes' module, if they
have ctypes installed.  python 2.5 comes with ctypes in the standard
library.
2007-05-20 19:35:45 -07:00
Robey Pointer 58e26ae41b [project @ robey@lag.net-20070521002334-6bx5g0zrnb10sgyd]
add optional timeout parameter to SSHClient.connect(), based on a patch
from james bardin.
2007-05-20 17:23:34 -07:00
Robey Pointer afa5e0594e [project @ robey@lag.net-20070520225704-j1czjtrl2hu7t1pj]
add a get_channel() method to SFTPClient, to retrieve the underlying channel.
2007-05-20 15:57:04 -07:00
Robey Pointer 3229cd0f94 [project @ robey@lag.net-20070520225622-ozs9cguu8ipaxt85]
patch from wesley augur: expose the 'longname' field from listdir_attr().
2007-05-20 15:56:22 -07:00
Robey Pointer 920b172360 [project @ robey@lag.net-20070326075819-y7972z9cy3ffmw76]
expose PKey for documentation, so inherited methods can be seen in DSSKey and RSAKey
2007-03-26 00:58:19 -07:00
Robey Pointer 6b71c642d1 [project @ robey@lag.net-20070218212332-ufb5mk2ne0bzamx5]
oops, fix doc typo
2007-02-18 13:23:32 -08:00
Robey Pointer cb0e01dd86 [project @ robey@lag.net-20070218212228-qdk8w1n4is0cady3]
bump version to 1.7 zubat
2007-02-18 13:22:28 -08:00
Robey Pointer 87d97fa209 [project @ robey@lag.net-20070213192109-axy7gl61x7w0cpbp]
add get/put to the sftp demo
2007-02-13 11:21:09 -08:00
Robey Pointer 83b335e10f [project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]
bump copyright year to 2007
2007-02-13 11:17:06 -08:00
Robey Pointer 1a51090969 [project @ robey@lag.net-20070212183050-kaf5lvrbw46v9i59]
improve x11 test and add a test for reverse port forwarding
2007-02-12 10:30:50 -08:00
Robey Pointer b9f43f3f06 [project @ robey@lag.net-20070212183021-0c9dx3w16m0x2non]
add a convenience method for open_forwarded_tcpip_channel
2007-02-12 10:30:21 -08:00
Robey Pointer ab2e5a710e [project @ robey@lag.net-20070212182955-eaqi0dhzk0p8tw02]
slightly improve docs; mention check_channel_x11_request
2007-02-12 10:29:55 -08:00
Robey Pointer 44af093090 [project @ robey@lag.net-20070211022613-tvtcqzmho5cxr55u]
fix a couple of typos discovered by mczepiel.
2007-02-10 18:26:13 -08:00
Robey Pointer ecb8ffe373 [project @ robey@lag.net-20070211022553-mjbl0w7wygpl7os5]
add another test to check out private key auth.
2007-02-10 18:25:53 -08:00
Robey Pointer f384749a8c [project @ robey@lag.net-20070210235828-2a24iw2xqe4lnf42]
patch from mpool to fix a python 2.5 warning: stat() returns floats for
times and we want to encode them as ints.
2007-02-10 15:58:28 -08:00
Robey Pointer 21a42f5f33 [project @ robey@lag.net-20070122211718-02rz92vb9626vur4]
an errant slash was making unit tests unrunnable on windows
2007-01-22 13:17:18 -08:00