summaryrefslogtreecommitdiff
path: root/paramiko/transport.py
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2023-01-24 16:56:08 -0500
committerYaroslav Halchenko <debian@onerussian.com>2023-01-24 16:56:08 -0500
commit908e7c75f53025a3064e28215da62ffcfdea6daa (patch)
tree8ae79b736fc69f2c05ba1adec2ae11c4b9e4720c /paramiko/transport.py
parent5efa354ce9fff1217d22e52493d1442866821a7b (diff)
downloadparamiko-908e7c75f53025a3064e28215da62ffcfdea6daa.tar.gz
[DATALAD RUNCMD] Run codespell -w
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 9436111b..569c5cdd 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -1008,7 +1008,7 @@ class Transport(threading.Thread, ClosingContextManager):
:raises:
`.SSHException` -- if the request is rejected, the session ends
- prematurely or there is a timeout openning a channel
+ prematurely or there is a timeout opening a channel
.. versionchanged:: 1.15
Added the ``window_size`` and ``max_packet_size`` arguments.
@@ -1692,7 +1692,7 @@ class Transport(threading.Thread, ClosingContextManager):
def auth_interactive_dumb(self, username, handler=None, submethods=""):
"""
- Autenticate to the server interactively but dumber.
+ Authenticate to the server interactively but dumber.
Just print the prompt and / or instructions to stdout and send back
the response. This is good for situations where partial auth is
achieved by key and then the user has to enter a 2fac token.
@@ -2058,7 +2058,7 @@ class Transport(threading.Thread, ClosingContextManager):
reply.add_string("")
reply.add_string("en")
# NOTE: Post-open channel messages do not need checking; the above will
- # reject attemps to open channels, meaning that even if a malicious
+ # reject attempts to open channels, meaning that even if a malicious
# user tries to send a MSG_CHANNEL_REQUEST, it will simply fall under
# the logic that handles unknown channel IDs (as the channel list will
# be empty.)