Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
add a callback method that can be used to track get/put progress in
SFTPClient. suggested by Phil Schwartz.
|
|
allow multiple key files to be specified in SSHClient.
suggested by Bernhard Walle.
|
|
merge deadlog bugfix from dwayne litzenberger.
|
|
fix some unit tests for windows
|
|
bug 193779:
catch EOFError in auth, and turn it into an auth exception. add a unit
test to verify.
|
|
add exit_status_ready for justin cook.
|
|
slight tweak to test, make it verify the length too
|
|
in the test that verifies key renegotiation during a large file "put", also
do a "get" of the large file (with prefetch) to verify that nothing screwy
happens.
|
|
verify WarningPolicy is exported
|
|
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
|
|
bug 189466: fix typo in osrandom.py (from patch in bug report) and add a
friggin' unit test.
|
|
fix the utf-8 password bug for good (aka bug 177117) and add unit tests
this time.
|
|
remove some now-unneeded code.
|
|
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
|
|
patch from david guerizec for direct-tcpip forwarding support, and a unit
test added by yours truly.
|
|
oops, fix typo.
|
|
add send_ready() and a unit test.
|
|
bug discovered while porting to jaramiko: old-style gex wasn't creating
the proper hash. fixed.
|
|
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.
|
|
bump copyright year to 2007
|
|
improve x11 test and add a test for reverse port forwarding
|
|
add another test to check out private key auth.
|
|
once, this test failed, so add a timer
|
|
add a ResourceManager to replace __del__ methods, and use it in SSHClient
to automatically close any open transport when the SSHClient is collected.
this won't work on Transport itself (to close the attached packetizer)
because Transport starts up its own thread, and the threading library
keeps a Transport object alive to run that thread. i think that's okay;
the SSHClient interface is meant to be the easier one, so that's the one
where it's important that some auto-cleanup is attempted.
|
|
add support for opening x11 channels, and a unit test
|
|
reorder the closing of the pipe in Channel.close() to make sure it happens even when the channel is closed by the remote host first
|
|
try a trick that should let 'hostkeys[hostname][keytype] = key' work for
HostKeys objects again.
|
|
bug 70398:
allow constructions like:
hostkeys['hostname'] = {}
to create an empty host entry object, so that future attempts to set
keys will at least not throw an exception. (they'll still silently do
nothing, though.)
|
|
might as well assert this
|
|
fix from john arbash-meinel for the stub sftp server's default open mode
|
|
sadly, revert the append optimization -- it breaks for openssh
|
|
fix __setitem__ to do the right thing
|
|
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
|
|
add 'flags' param to SFTPHandle and make the default impl avoid calling tell() when in append mode; add proper append-mode support to stub_sftp
|
|
add a unit test to verify that all the paramiko symbols are exported correctly
|
|
use hexlify in tests
|
|
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
|
|
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
|
|
add PKey.from_private_key to read from a file object
|
|
add PKey.write_private_key to write a private key into a file object, and add tests for it
|
|
fix new cygwin test failures reported by alexander
|
|
new parent exception for all auth failures, and new specific exception for bad host key
|
|
pulled out openssh config parsing into its own class
|
|
add unit tests for SSHClient, and fix a few bugs that uncovered
|
|
channel operations raise an exception on error now instead of returning a bool
|
|
if open_channel fails, it now raises ChannelException. added a unit test for that too. renegotiate_keys will also raise an exception now instead of returning a bool.
|