Age | Commit message (Collapse) | Author |
|
Forgot this earlier.
|
|
|
|
|
|
Fixes #85
|
|
|
|
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc)
Conflicts:
test.py
|
|
(cherry picked from commit 351bdb72e539c373985e108c89f61839f3acdd2a)
Conflicts:
paramiko/agent.py
paramiko/client.py
paramiko/transport.py
|
|
(cherry picked from commit 011805eae07ee7be6140b95f6d8669763c55b3d9)
|
|
(cherry picked from commit 00e1072ee5abbc92b5df57e10cadb638d583d971)
Conflicts:
tests/test_util.py
|
|
The code had been doing 'n < self.__in_buffer' when it
wanted to be doing 'n < len(self.__in_buffer)'
In Python 2.x, this comparison (int < str) is always True.
I found this while porting to Python 3 where it raises
an error.
The code has been working without complaints because always
taking the true branch of this conditional is actually fine.
We don't need the false branch, so drop the check entirely.
(cherry picked from commit 0a013f829e9eb20fb037a2ac06c230d9074fbe90)
|
|
|
|
|
|
servers that remove the file immediately after it's been closed.
|
|
|
|
|
|
|
|
|
|
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
|