| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
python3
Conflicts:
dev-requirements.txt
paramiko/__init__.py
paramiko/file.py
paramiko/hostkeys.py
paramiko/message.py
paramiko/proxy.py
paramiko/server.py
paramiko/transport.py
paramiko/util.py
paramiko/win_pageant.py
setup.py
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Conflicts:
paramiko/hostkeys.py
|
| | | |
|
| | |
| |
| |
| |
| | |
Some :rtype:s were left around as they were truly useful, given
difficulty of linking to constant integer values.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Boo on Sphinx for not letting me just change this behavior
by default.
There are a handful of incorrect items here that will get
tweaked later.
|
| | | |
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Conflicts:
paramiko/proxy.py
|
| |/ |
|
| |
|
|
| |
(cherry picked from commit 8c8d0a81ad41a5a4040823049f6548f07ac531b3)
|
| |
|
|
|
|
|
| |
(cherry picked from commit 35a173631f4d5be2e47d8880ee0a1df08f95cebc)
Conflicts:
paramiko/agent.py
|
| | |
|
| |
|
|
|
| |
patch from david guerizec for direct-tcpip forwarding support, and a unit
test added by yours truly.
|
| |
|
|
| |
bump copyright year to 2007
|
| |
|
|
| |
slightly improve docs; mention check_channel_x11_request
|
| |
|
|
| |
potential port forwarding support; probably buggly cuz i haven't added unit tests yet :)
|
| |
|
|
| |
add support for opening x11 channels, and a unit test
|
| |
|
|
| |
remove @since that predate 1.0
|
| |
|
|
| |
update copyright year
|
| |
|
|
| |
remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
|
| |
|
|
| |
add server-side support for keyboard-interactive auth, and a couple of unit tests
|
| |
|
|
| |
smooth BaseTransport and Transport together, and move the auth stuff into AuthHandler -- an improvement i made in jaramiko and decided deserved to be backported
|
| |
|
|
| |
stupid little doc tweaks
|
| |
|
|
| |
random doc/comment tweaks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
integrated laptop work (test commit)
Patches applied:
* robey@lag.net--2003-public-master-shake/secsh--dev--1.0--base-0
tag of robey@lag.net--2003-public/secsh--dev--1.0--patch-160
* robey@lag.net--2003-public-master-shake/secsh--dev--1.0--patch-1
test commit
* robey@lag.net--2003-public/secsh--dev--1.0--base-0
initial import
* robey@lag.net--2003-public/secsh--dev--1.0--patch-1
no changes
|
| |
|
|
|
|
|
|
|
| |
change SubsystemHandler/SFTPServerInterface API
change the API of SubsystemHandler to accept a reference to the
ServerInstance object during construction. this will break all code
that currently creates subsystem handlers (like sftp servers) -- sorry!
lots of little doc fixups (mostly indenting).
|
| |
|
|
|
|
|
| |
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
|
| |
|
|
|
|
| |
oops (continued)
er, part 2 of that.
|
| |
|
|
|
|
|
|
|
|
| |
server support for stderr & exec_command
for the server side of my stderr blunder, add send_stderr & sendall_stderr,
and make the sending side of makefile_stderr work correctly.
also, call check_channel_exec_request on a server object for exec requests
on a channel.
|
| |
|
|
|
|
|
|
| |
add finish_subsystem()
when a SubsystemHandler is being decomissioned (the client has closed the
channel or transport, or the socket went away), make a callback to let the
handler do any shutdown it needs to.
|
| |
|
|
|
|
|
|
|
| |
better debugging, improve subsytem handler
add a list of ssh packet names for debugging. improve the server-mode
subsystem handler so it can take extra parameters (list or keyword) and
pass them to the subsystem constructor. remove a misleading comment
about rekeying (which was already implemented).
|
| |
|
|
|
|
|
|
|
| |
move SubsystemHandler to server.py
move SubsystemHandler into server.py where it makes more sense (it's part of
the server interface).
also fix up paramiko's "version string" used in ssh2 negotiation to stop
saying "pyssh" and start saying "paramiko". :)
|
| |
|
|
|
|
|
|
|
|
| |
some framework for adding subsystem handlers in server mode
you can now register a subsystem with a Transport by passing in the name
(like "sftp") and a class (like a hypothetical SFTPServer). the default
ServerInterface.check_channel_request_subsystem now checks this table in
Transport, and if it finds a match, it creates a new thread for the handler
and calls into it. a new class SubsystemHandler is added for this purpose
(to be subclassed).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
clean up server interface; no longer need to subclass Channel
- export AUTH_*, OPEN_FAILED_*, and the new OPEN_SUCCEEDED into the paramiko
namespace instead of making people dig into paramiko.Transport.AUTH_* etc.
- move all of the check_* methods from Channel to ServerInterface so apps
don't need to subclass Channel anymore just to run an ssh server
- ServerInterface.check_channel_request() returns an error code now, not a
new Channel object
- fix demo_server.py to follow all these changes
- fix a bunch of places where i used "string" in docstrings but meant "str"
- added Channel.get_id()
|
| |
|
|
|
|
|
|
|
|
|
|
| |
added Transport.get_security_options()
just something i wanted to play with:
added Transport.get_security_options() which returns a SecurityOptions object.
this object is a kind of proxy for the 4 "preferred_*" fields in Transport,
and lets me avoid exposing those fields directly in case i change my mind
later about how they should be stored.
added some docs to Channel explaining that the request methods now return
True/False, and fixed up docs in a few other places.
|
|
|
new ServerInterface class, outbound rekey works, etc.
a bunch of changes that i'm too lazy to split out into individual patches:
* all the server overrides from transport.py have been moved into a separate
class ServerInterface, so server code doesn't have to subclass the whole
paramiko library
* updated demo_server to subclass ServerInterface
* when re-keying during a session, block other messages until the new keys
are activated (openssh doensn't like any other traffic during a rekey)
* re-key when outbound limits are tripped too (was only counting inbound
traffic)
* don't log scary things on EOF
|