summaryrefslogtreecommitdiff
path: root/paramiko/server.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix import * and a bunch of PEP8 formattingScott Maxwell2014-03-071-3/+2
|
* Merge remote-tracking branch 'scottkmaxwell/py3-support-without-py25' into ↵Jeff Forcier2014-03-051-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Change all exceptions to modern format (not Py2.5 compatible)Scott Maxwell2013-11-191-2/+1
| |
| * Convert and detect types properly, use helper constants, use StringIO and rangeScott Maxwell2013-10-301-1/+1
| |
| * Fix dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell2013-10-301-1/+2
| |
* | Merge branch '1.11' into 1.12Jeff Forcier2014-03-041-313/+264
|\ \ | |/ |/| | | | | Conflicts: paramiko/hostkeys.py
| * Fix up remaining Sphinx build warningsJeff Forcier2014-02-261-0/+3
| |
| * Server info fields.Jeff Forcier2014-02-261-160/+109
| | | | | | | | | | Some :rtype:s were left around as they were truly useful, given difficulty of linking to constant integer values.
| * Server docstrings updatedJeff Forcier2014-02-241-14/+13
| |
| * s/paramiko/Paramiko/Jeff Forcier2014-02-241-3/+3
| |
| * Tweak order of System doc pageJeff Forcier2014-02-241-42/+42
| |
| * s/python/Python/, c'mon son!Jeff Forcier2014-02-211-1/+1
| |
| * Don't actually need :class: anywhere nowJeff Forcier2014-02-211-70/+70
| |
| * Replace accidental class-refs on local method-refsJeff Forcier2014-02-211-14/+14
| |
| * Mass SnR of class refs with dotted ones.Jeff Forcier2014-02-211-65/+65
| | | | | | | | | | | | | | | | 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.
| * Epydoc -> Sphinx.Olle Lundberg2014-01-231-257/+257
| |
* | Merge branch '1.11'Jeff Forcier2013-09-271-1/+1
|\ \ | |/
| * Fixed a typo in the license header of most filesJeff Forcier2013-09-271-1/+1
| | | | | | | | | | Conflicts: paramiko/proxy.py
* | Add support for the SSH env commandBenjamin Pollack2013-09-271-0/+21
|/
* Don't mix tabs and spacesJeff Forcier2012-09-231-9/+10
| | | | (cherry picked from commit 8c8d0a81ad41a5a4040823049f6548f07ac531b3)
* Added ssh agent support. Ported from https://github.com/robey/paramiko/pull/21Ben Davis2012-09-231-1/+16
| | | | | | | (cherry picked from commit 35a173631f4d5be2e47d8880ee0a1df08f95cebc) Conflicts: paramiko/agent.py
* fix my email address to be the current one.Robey Pointer2009-07-191-1/+1
|
* [project @ robey@lag.net-20071231052950-8h599bnez3sgbf2e]Robey Pointer2007-12-301-0/+41
| | | | | patch from david guerizec for direct-tcpip forwarding support, and a unit test added by yours truly.
* [project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer2007-02-131-1/+1
| | | | bump copyright year to 2007
* [project @ robey@lag.net-20070212182955-eaqi0dhzk0p8tw02]Robey Pointer2007-02-121-1/+3
| | | | slightly improve docs; mention check_channel_x11_request
* [project @ robey@lag.net-20061203023334-72zo500ys0l1le30]Robey Pointer2006-12-021-0/+40
| | | | potential port forwarding support; probably buggly cuz i haven't added unit tests yet :)
* [project @ robey@lag.net-20061121001117-8mf8zzltvfvzzrv7]Robey Pointer2006-11-201-0/+24
| | | | add support for opening x11 channels, and a unit test
* [project @ robey@lag.net-20060220040447-d7b79989d3b680ed]Robey Pointer2006-02-191-2/+0
| | | | remove @since that predate 1.0
* [project @ robey@lag.net-20060220005934-58d0df2920e799b5]Robey Pointer2006-02-191-1/+1
| | | | update copyright year
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-65]Robey Pointer2005-10-131-4/+2
| | | | remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-61]Robey Pointer2005-09-271-4/+102
| | | | add server-side support for keyboard-interactive auth, and a couple of unit tests
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-54]Robey Pointer2005-08-091-5/+3
| | | | smooth BaseTransport and Transport together, and move the auth stuff into AuthHandler -- an improvement i made in jaramiko and decided deserved to be backported
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-23]Robey Pointer2005-07-031-3/+2
| | | | stupid little doc tweaks
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-15]Robey Pointer2005-06-281-1/+1
| | | | random doc/comment tweaks
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-161]Robey Pointer2005-04-161-1/+1
| | | | | | | | | | | | | | | | | | 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
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-157]Robey Pointer2005-04-061-26/+38
| | | | | | | | | 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).
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer2005-02-281-1/+1
| | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-132]Robey Pointer2004-12-131-0/+29
| | | | | | oops (continued) er, part 2 of that.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-126]Robey Pointer2004-12-121-4/+30
| | | | | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-112]Robey Pointer2004-11-221-1/+10
| | | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-97]Robey Pointer2004-11-011-2/+3
| | | | | | | | | 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).
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-80]Robey Pointer2004-09-111-0/+79
| | | | | | | | | 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". :)
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-72]Robey Pointer2004-09-051-2/+15
| | | | | | | | | | 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).
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-70]Robey Pointer2004-09-031-44/+151
| | | | | | | | | | | | | 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()
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-68]Robey Pointer2004-08-301-0/+4
| | | | | | | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-66]Robey Pointer2004-08-271-0/+154
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