summaryrefslogtreecommitdiff
path: root/paramiko/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into 2013-intJeff Forcier2023-03-101-8/+13
|\
| * Massage SSHClient.connect exception-raising docstringJeff Forcier2023-01-201-8/+13
| | | | | | | | | | | | | | | | | | - Sphinx Python domain can link to non-stdlib exception classes inside the `:raises:` fieldlist now! yay!! - Add explicit mention of 'can raise NoValidConnectionsError', which was never added when the latter was created. Was still technically correct (it is a subclass of socket.error) but that is not the best kind of correct, after all.
* | Add timeout for opening an SSH channelvakarisz2023-03-021-0/+5
|/
* Nuke retry_on_signal, pointless on modern Py3Jeff Forcier2023-01-161-2/+2
| | | | | Additionally, other bits of code that retry EINTR can similarly just go away.
* No more (object)ionsJeff Forcier2023-01-161-1/+1
|
* string_types -> strJeff Forcier2023-01-091-2/+1
|
* Docstring tweaks, changelog entry, re #2125Jeff Forcier2022-11-041-2/+6
|
* Write basic test re #2125, including kwarg default value tweakJeff Forcier2022-11-041-1/+3
|
* Allow Transport factory to SSHClient.connectNoah Pederson2022-10-071-1/+6
| | | | | | | | | | Adds a transport_factory argument to `SSHClient.connect` that allows you to dynamically generate a Transport instance without, and therefore modify inner connection parameters before a connection gets established. This should address some of the issues in #2054 with minial changes to the API and no changes to Transport while allowing for arbitrary control over Transports API.
* Merge branch '2.10' into 2.11Jeff Forcier2022-06-031-0/+4
|\
| * split comment to linesyoav2022-06-031-1/+2
| |
| * Close socket on failureyoav2022-06-031-0/+3
| | | | | | | | | | | | | | As mentioned in socket docs: "Sockets are automatically closed when they are garbage-collected, but it is recommended to close() them explicitly, or to use a with statement around them." Resolve #1126
* | Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
|/ | | | They moved from Temple Place to Franklin Street in 2005.
* Merge branch '2.5' into 2.62.6Jeff Forcier2021-10-151-4/+6
|\
| * Enhance language around SSHClient.close()2.5Jeff Forcier2021-10-151-4/+6
| |
* | Rename to disableD_algorithms everywhere for consistencyJeff Forcier2019-06-211-4/+4
| | | | | | | | | | Having it feel verb-y isn't that much better than the alternative, and consistency is a nice hobgoblin
* | Client->Transport for disable_algorithmsJeff Forcier2019-06-211-1/+4
| |
* | Add docstring and signature support for disable_algorithmsJeff Forcier2019-06-211-0/+6
| |
* | Implement #322 - new ChannelFile subclass for stdin that calls ↵Jeff Forcier2019-06-141-1/+1
|/ | | | shutdown_write on close()
* Merge branch '2.4'Jeff Forcier2018-05-291-51/+95
|\
| * Blacken under black 18.5b0Jeff Forcier2018-05-291-5/+5
| |
| * Blacken Paramiko on 2.4Chris Rose2018-05-171-46/+90
| |
* | Years later...Jeff Forcier2017-11-291-0/+3
| |
* | wrong link in doctring commentMarwan Rabbâa2017-11-281-1/+1
| |
* | add documentation for get_pty param in SSHClient.exec_command()Marwan Rabbâa2017-11-281-0/+3
|/
* Implement new passphrase kwarg for SSHClient.connect()Jeff Forcier2017-11-091-7/+20
|
* flake8 for previous changesetJeff Forcier2017-10-111-7/+7
|
* String format modernization, part 11070-remove-python26-and-33Jeff Forcier2017-10-101-15/+19
| | | | | | | 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 set literalsJeff Forcier2017-10-101-1/+1
|
* Use new(er)-style string formatting, {} instead of {0}Jeff Forcier2017-10-101-2/+2
|
* Fix gss_host setting and cleanup its logicSebastian Deiss2017-09-181-2/+4
| | | | | The parameter 'kex_requested' is misleading, since setting 'gss_host' is also required for gssapi-with-mic.
* Attempt to refactor gss_host setting and clean up/document its logicJeff Forcier2017-09-131-6/+5
|
* Formatting yet againJeff Forcier2017-09-131-1/+2
|
* versionchanged for gss_trust_dnsJeff Forcier2017-09-131-0/+2
|
* More formattingJeff Forcier2017-09-131-5/+7
|
* Feels like we do still want set_gss_host gated by whether GSS is in play (as ↵Jeff Forcier2017-09-131-5/+6
| | | | is in master)
* FormattingJeff Forcier2017-09-131-3/+4
|
* Trailing commaJeff Forcier2017-09-131-1/+1
|
* Merge branch 'master' into 1063-intJeff Forcier2017-09-131-15/+58
|\
| * Merge branch '2.2'Jeff Forcier2017-09-121-13/+12
| |\
| * | Overhaul PublicBlob and use it better within RSAKey.Jeff Forcier2017-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This allows server-side Paramiko code to correctly create cert-bearing RSAKey objects and thus verify client signatures, and now the test suite passes again, barring the stub tests. Re #1042
| * | Stub tests and partly-working implementation of 'load certs found alongside ↵Jeff Forcier2017-08-281-9/+21
| | | | | | | | | | | | | | | | | | | | | key_filenames' behavior re #1042 This actually breaks existing tests due to test server not supporting certs...bah
| * | Docstring/TODO tweaksJeff Forcier2017-08-281-1/+2
| | |
| * | Refactor and clean up recently tweaked key loading bits in SSHClientJeff Forcier2017-08-281-20/+26
| | |
| * | Changelog and docs re #1042Jeff Forcier2017-08-281-2/+16
| | |
| * | string slice instead of rstrip, thanks ploxilnPaul Kapp2017-08-221-1/+1
| | |
| * | Add certificate filenames to look_for_keysPaul Kapp2017-08-221-5/+15
| | |
* | | Invent the parameter 'gss_trust_dns' for Kerberos supportAnselm Kruis2017-09-131-9/+11
| |/ |/| | | | | | | | | | | | | | | | | | | | | In response to Paramiko issue #915 the parameter 'gss_trust_dns' was added for Kerberos support. Set by default to 'True' the parameter indicates whether or not the DNS is trusted to securely canonicalize the hostname of the target host. If set to 'False' the hostname entered will be passed to GSSAPI. This option behaves like GSSAPITrustDNS from OpenSSH. Also, the parameter 'gss_host' is now always set, regardless if GSSAPI is used or not. Further, a minor fix was required to make the SFTP test work again.
* | Merge branch '2.1-gsskex-hostkeycheck-fix' into 2.2-gsskex-hostkeycheck-fixAnselm Kruis2017-08-041-13/+12
|\ \ | |/ |/|
| * Merge branch '2.0-gsskex-hostkeycheck-fix' into 2.1-gsskex-hostkeycheck-fixAnselm Kruis2017-08-041-13/+12
| |\