summaryrefslogtreecommitdiff
path: root/paramiko/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Stop stripping ProxyCommand none, make it NoneJeff Forcier2023-01-161-6/+2
| | | | | Also apparently the old, old test for this had the wrong issue number in it :(
* Nuke unused private methodJeff Forcier2023-01-161-4/+0
|
* Punt a bunch of backwards incompatible TODOs to 4.0Jeff Forcier2023-01-161-1/+1
|
* No more (object)ionsJeff Forcier2023-01-161-2/+2
|
* flake8/blackJeff Forcier2023-01-131-0/+1
|
* No need for passthru dunder-init in Py3-only dict subclasses yeyJeff Forcier2023-01-121-5/+0
|
* Update StringIOJeff Forcier2023-01-091-2/+1
|
* Massage #1951 a bitJeff Forcier2022-04-251-1/+1
| | | | | | - changelog - test - tilde makes no sense here (ProxyJump is only ever [user@]host[:port] syntax) so removed it
* Merge branch 'main' into 1951-intJeff Forcier2022-04-251-5/+7
|\
| * Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
| | | | | | | | They moved from Temple Place to Franklin Street in 2005.
| * OpenSSH docs state %C should also work in IdentityFile and Match execJeff Forcier2022-03-111-2/+2
| | | | | | | | (at least, of what we presently ourselves support - it's also allowed in others)
| * Prettify, add %C as acceptable controlpath token, mock gethostnameJason Brand2022-03-111-5/+3
| |
| * Import only sha1Jason Brand2022-03-111-5/+5
| |
| * %C support in config fileJason Brand2022-03-111-1/+5
| |
* | Parse tokens in ProxyJumpBruno Inec2021-12-161-0/+1
|/ | | This way, ProxyJump parsing can be implemented by higher-level clients with the benefits of tokens being already parsed.
* Apply %h tokenization to HostNameJeff Forcier2019-12-031-6/+6
| | | | | This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup
* Never actually handled optional-ness of Invoke importJeff Forcier2019-12-031-0/+4
| | | | Was just silently failing, wahoops
* Refactor config negation a bitJeff Forcier2019-12-031-16/+10
|
* Base case re #717 works now.Jeff Forcier2019-12-021-82/+270
| | | | | | | | | Huge ass squashed commit because I was experimenting with "commit entire feature at once so you do not leave broken tests around to break bisecting". Not sure it's worth it, at least not for large-ish, overhauling-existing-code feature adds. Breaking the work up over months did not help either, L M A O
* Fix canonicalization doc updates.Jeff Forcier2019-09-271-1/+1
| | | | I blame not copying my pre-push hooks to my work machine :D
* Implement ssh_config hostname canonicalization (WIP)Jeff Forcier2019-09-271-33/+116
| | | | | | | | - Refactor DNS lookup related junk previously only relevant to %h - Refactor guts of lookup() so it can be done >1 time - Changelog/tests/implementation for canonicalization itself Closes #897
* Add new SSHConfig constructorsJeff Forcier2019-08-261-0/+45
|
* Move all SSHConfig related tests to test_config.pyJeff Forcier2019-08-261-0/+3
| | | | | Includes cleanup of unittest-isms and migrating recently added SSHConfigDict tests to a distinct class vs top-level funcs.
* versionadded/changed for SSHConfigDict et alJeff Forcier2018-06-141-0/+9
|
* Docstring edit passJeff Forcier2018-06-141-11/+47
|
* BlackenedJeff Forcier2018-06-141-1/+1
|
* Merge branch 'master' into 1212-intJeff Forcier2018-06-141-67/+63
|\
| * Blacken Paramiko on 2.4Chris Rose2018-05-171-67/+63
| |
* | JeffifiedChris Rose2018-05-161-6/+14
| |
* | Switch to subclassing due to the variance in UserDict behaviourChris Rose2018-05-161-4/+4
| |
* | Return a userdict class from paramiko config parsingChris Rose2018-05-161-1/+1
| |
* | Add an SSHConfig dict to provide type conversion helpersChris Rose2018-05-161-0/+26
|/
* String format modernization, part 11070-remove-python26-and-33Jeff Forcier2017-10-101-2/+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.
* More death to line continuationsJeff Forcier2017-05-311-4/+6
|
* Lots of flake8 fix.Dorian Pula2017-05-311-2/+2
|
* allow ~ expansion inside proxycommandqqo2016-12-051-0/+1
|
* Test & implementation for part 1 re: #670Jeff Forcier2016-04-251-6/+13
|
* Merge branch '1.14' into 1.15Jeff Forcier2016-01-191-1/+3
|\
| * Update SSHConfig.parse to strip leading and trailing whitespaceNick Pillitteri2016-01-081-1/+3
| | | | | | | | Fixes #499
* | Merge branch '1.14' into 1.15Jeff Forcier2015-11-021-2/+2
|\ \ | |/
| * Fix a handful of non-strict warnings in the Sphinx docs.Jeff Forcier2015-11-021-1/+1
| | | | | | | | | | | | | | Turns out there's a reason we haven't run the strict checker (sphinx-build -nW) before - it tries to resolve literally every info-list field like ':raises IOError:' and sphinx is apparently not cool enough to mesh that with intersphinx.
| * Fix somebody's smart quotesJeff Forcier2015-11-021-1/+1
| |
* | Added check for proxycommand none and associated test as per Paramiko Issue 415Sean Johnson2014-12-171-0/+3
| | | | | | | | | | Conflicts: tests/test_util.py
* | Improve parsing method of hosts in ssh_config.Yan Kalchevskiy2014-12-171-20/+5
| | | | | | | | There is a module in standard library for such parsing -- shlex.
* | Merge branch '1.15'Jeff Forcier2014-10-021-7/+9
|\ \
| * \ Merge branch '1.14' into 1.15Jeff Forcier2014-10-021-7/+9
| |\ \ | | |/
| | * Update documentation of lookup method.Olle Lundberg2014-10-021-7/+9
| | | | | | | | | | | | The documentation reflected pre #93 behaviour.
* | | SSHConfig.get_hostnames: List literal hostnames from SSH configSøren Løvborg2014-09-191-0/+10
|/ /
* | Merge branch 'master' into 184-intJeff Forcier2014-09-051-8/+12
|\ \ | |/ | | | | | | | | Conflicts: paramiko/config.py tests/test_util.py
| * Backport #378 to 1.13, closes #378Jeff Forcier2014-08-261-5/+7
| |