summaryrefslogtreecommitdiff
path: root/paramiko/server.py
Commit message (Collapse)AuthorAgeFilesLines
* flake8 re #2193Jeff Forcier2023-03-031-2/+2
|
* Expand documentation on server agent handling.Jamie Bliss2023-02-241-0/+3
|
* [DATALAD RUNCMD] Run codespell -wYaroslav Halchenko2023-01-241-4/+4
| | | | | | | | | | | | | | === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
* Harmonize into *args from *larg, *largsYaroslav Halchenko2023-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initially spotted since 'larg' was picked up by codespell as something possibly to fix to become 'large'. But realized that it is just an inconsistency. Had various uses: ❯ git grep '\*arg\>' | nl 1 paramiko/sftp_client.py: def _request(self, t, *arg): 2 paramiko/sftp_client.py: num = self._async_request(type(None), t, *arg) 3 paramiko/sftp_client.py: def _async_request(self, fileobj, t, *arg): 4 paramiko/sftp_server.py: def _response(self, request_number, t, *arg): ❯ git grep '\*largs\>' | nl 1 paramiko/sftp_server.py: *largs, 2 paramiko/sftp_server.py: self.server = sftp_si(server, *largs, **kwargs) 3 paramiko/sftp_si.py: def __init__(self, server, *largs, **kwargs): 4 paramiko/sftp_si.py: super().__init__(*largs, **kwargs) ❯ git grep '\*larg\>' | nl 1 paramiko/server.py: handler = handler_class(channel, name, self, *larg, **kwarg) 2 paramiko/transport.py: def set_subsystem_handler(self, name, handler, *larg, **kwarg): in addition to more conventional ❯ git grep '\*args\>' | nl 1 paramiko/_winapi.py: super().__init__(*args) 2 paramiko/_winapi.py: def __init__(self, *args, **kwargs): 3 paramiko/_winapi.py: super().__init__(*args, **kwargs) 4 paramiko/auth_handler.py: def _log(self, *args): 5 paramiko/auth_handler.py: return self.transport._log(*args) 6 paramiko/channel.py: def _check(self, *args, **kwds): 7 paramiko/channel.py: return func(self, *args, **kwds) 8 paramiko/channel.py: def _log(self, level, msg, *args): 9 paramiko/channel.py: self.logger.log(level, "[chan " + self._name + "] " + msg, *args) 10 paramiko/sftp.py: def _log(self, level, msg, *args): 11 paramiko/sftp.py: self.logger.log(level, msg, *args) 12 paramiko/sftp_client.py: def _log(self, level, msg, *args): 13 paramiko/sftp_client.py: self._log(level, m, *args) 14 paramiko/transport.py: def _log(self, level, msg, *args): 15 paramiko/transport.py: self.logger.log(level, msg, *args) 16 tests/__init__.py: def _test_under_locale(testself, *args, **kwargs): 17 tests/__init__.py: return test_method(testself, *args, **kwargs) 18 tests/test_client.py: def __init__(self, *args, **kwargs): 19 tests/test_client.py: super().__init__(*args, **kwargs) 20 tests/test_config.py: def inner(command, *args, **kwargs): 21 tests/test_packetizer.py: def wrapper(*args, **kwargs): 22 tests/test_packetizer.py: result = func(*args, **kwargs)
* No more (object)ionsJeff Forcier2023-01-161-2/+2
|
* Some semi-missed removals of 'long'Jeff Forcier2023-01-091-1/+1
| | | | | | | - a couple spots where we wrote longs as int64 and ints as int. I _think_ the right thing to do here is write all ints as int64 given how Python handles these under 3. - docs bits
* string_types -> strJeff Forcier2023-01-091-2/+1
|
* Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
| | | | They moved from Temple Place to Franklin Street in 2005.
* Blacken Paramiko on 2.4Chris Rose2018-05-171-19/+30
|
* Same issue as I ran into with invoke: somehow, Python 2.7 intersphinx no ↵Jeff Forcier2017-10-131-1/+1
| | | | longer understands 'list' :(
* String format modernization, part 11070-remove-python26-and-33Jeff Forcier2017-10-101-1/+2
| | | | | | | Choosing to skip it in some edge/corner cases where it's more harmful than helpful. Also choosing to replace many non-%s specifiers with regular old {} since I don't see why one would normally care. Again, eschewing that in spots where it seems like it might matter.
* Use new(er)-style string formatting, {} instead of {0}Jeff Forcier2017-10-101-1/+1
|
* Really, really gotta get better about enforcing theseJeff Forcier2017-09-051-0/+2
|
* server: Support pre-authentication bannersDennis Kaarsemaker2017-07-061-0/+11
| | | | | | | | The ssh protocol allows for the server to send a pre-authentication banner. It may be sent any time between the start of authentication and successful authentication. This commit allow ServerInterface subclasses to define messages which we'll send right right at the start of authentication before we send the supported authentication methods.
* Move to 'inv sites' style doc nitpicking.Jeff Forcier2017-06-051-34/+33
| | | | | | | Existing just-warnings setup was old and not as rigorous as my usual. Required a lot of stupid little changes, but now same tooling for all projects, toot toot.
* Python 2.6 compat formatstringsJeff Forcier2017-06-011-2/+4
|
* Even moar parentheses over backslashesJeff Forcier2017-05-311-4/+6
|
* Fix documentation build failure.Dorian Pula2017-05-311-1/+1
|
* Additional PEP8 fixes.Dorian Pula2017-05-311-29/+29
|
* Flake8 improvements for more of paramiko.Dorian Pula2017-05-311-24/+36
|
* untie agian!james mike dupont2017-01-241-1/+1
|
* Add a missing import.Anselm Kruis2015-03-181-1/+1
|
* Merge branch '1.14' into 1.15Jeff Forcier2014-09-181-9/+6
|\
| * Fix more missed epydoc syntaxJeff Forcier2014-09-181-9/+6
| |
* | Change GSS-API epydoc docstrings to SphinxSebastian Deiss2014-03-271-43/+37
| |
* | Merge branch 'master' into gssapi-py3-supportSebastian Deiss2014-03-261-316/+266
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore README demos/demo_simple.py dev-requirements.txt paramiko/__init__.py paramiko/_winapi.py paramiko/agent.py paramiko/auth_handler.py paramiko/ber.py paramiko/buffered_pipe.py paramiko/channel.py paramiko/client.py paramiko/common.py paramiko/dsskey.py paramiko/ecdsakey.py paramiko/file.py paramiko/hostkeys.py paramiko/kex_gex.py paramiko/kex_group1.py paramiko/message.py paramiko/packet.py paramiko/pkey.py paramiko/primes.py paramiko/proxy.py paramiko/py3compat.py paramiko/server.py paramiko/sftp_client.py paramiko/transport.py paramiko/util.py paramiko/win_pageant.py setup.py sites/shared_conf.py sites/www/changelog.rst sites/www/conf.py sites/www/index.rst sites/www/installing.rst test.py tests/loop.py tests/stub_sftp.py tests/test_auth.py tests/test_client.py tests/test_file.py tests/test_hostkeys.py tests/test_kex.py tests/test_message.py tests/test_packetizer.py tests/test_pkey.py tests/test_sftp.py tests/test_sftp_big.py tests/test_transport.py tests/test_util.py
| * 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
| | |
* | | GSS-API / SSPI authenticated Diffie-Hellman Key Exchange and userSebastian Deiss2014-02-111-0/+80
| | | | | | | | | | | | | | | | | | | | | authentication with Python 3 support Add Python 3 support for the GSS-API / SSPI authenticated Diffie-Hellman Key Exchange and user authentication. This patch supersedes pull request #250.
* | | Merge branch scottkmaxwell:py3-support-without-py25 intoSebastian Deiss2014-02-111-2/+2
|/ / | | | | SebastianDeiss:gssapi-py3-support
* | 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
|