Age | Commit message (Collapse) | Author |
|
patch from james bardin to allow closing an SSHClient more than once. :)
|
|
add get_transport() to fetch the Transport from an SSHClient.
|
|
fix some typos.
|
|
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.
|
|
bug 137219: handle EINTR in a read or write, if python doesn't.
|
|
jon slavin points out that using the 'cmp' keyword is not compatible
with python 2.3.
|
|
bump up to 1.7.1 (amy)
|
|
change README to rest format
|
|
create new TODO file
|
|
move the news entries to a new rest file
|
|
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.
|
|
add optional timeout parameter to SSHClient.connect(), based on a patch
from james bardin.
|
|
add a get_channel() method to SFTPClient, to retrieve the underlying channel.
|
|
patch from wesley augur: expose the 'longname' field from listdir_attr().
|
|
expose PKey for documentation, so inherited methods can be seen in DSSKey and RSAKey
|
|
oops, fix doc typo
|
|
bump version to 1.7 zubat
|
|
add get/put to the sftp demo
|
|
bump copyright year to 2007
|
|
improve x11 test and add a test for reverse port forwarding
|
|
add a convenience method for open_forwarded_tcpip_channel
|
|
slightly improve docs; mention check_channel_x11_request
|
|
fix a couple of typos discovered by mczepiel.
|
|
add another test to check out private key auth.
|
|
patch from mpool to fix a python 2.5 warning: stat() returns floats for
times and we want to encode them as ints.
|
|
an errant slash was making unit tests unrunnable on windows
|
|
as john arbash meinel points out, this assert wasn't validating internal
consistency, because a readv() request may ask for more data than is left
in the file. so remove the assert.
|
|
once, this test failed, so add a timer
|
|
fix bug in prefetch confirmation
|
|
if connecting to the agent fails, assume it's just not there, and don't
raise an exception. (suggestion from martin pool on bazaar-dev.)
|
|
remove silly comment about compression not being tested
|
|
don't need to expanduser twice
|
|
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.
|
|
bug 75370: notice garbage sftp packets
since sftp packets shouldn't be larger than about 32k, if the first length
byte is non-zero (ie, the packet size > 16M), raise an exception.
|
|
potential port forwarding support; probably buggly cuz i haven't added unit tests yet :)
|
|
absorb socket.errors caused by a closed socket if we knew it was closed
|
|
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
|
|
bump version to 1.6.4 (yanma) and trim the README changes-history a bit
|
|
sometimes the sftp module is used with raw sockets, not just paramiko
Channels. in this case, calling recv() will never return. so notice
this and use select() to give python a chance to notice a closed socket.
this kind of thing is especially useful for unit tests.
|
|
a bit of cleanup in close() to try harder to avoid having lingering threads
|
|
try a trick that should let 'hostkeys[hostname][keytype] = key' work for
HostKeys objects again.
|
|
use python from env for unit tests
|
|
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.)
|
|
(bug 69222)
on some recent linux kernels, a socket can return "readable" from select,
but a subsequent read() will return EAGAIN. this is against the contract
of select(), so python's socketmodule doesn't catch it or handle it.
therefore, we need to. EAGAIN should now be treated the same as a
socket timeout.
|
|
(bug 69330)
in SFTPClient._auth, check for the existence of the rsa/dsa keys before
trying to open them, so that an I/O exception doesn't mask an earlier
one.
|
|
include setup_helper.py in the manifest
|
|
bump version to 1.6.3
|
|
might as well assert this
|