Skip to content

Commit

Permalink
Fix some typos in transport/ssh.py
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Jun 13, 2018
1 parent 1b06ad0 commit 52ef488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncclient/transport/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def default_unknown_host_cb(host, fingerprint):
This default callback always returns `False`, which would lead to :meth:`connect` raising a :exc:`SSHUnknownHost` exception.
Supply another valid callback if you need to verify the host key programatically.
Supply another valid callback if you need to verify the host key programmatically.
*host* is the hostname that needs to be verified
Expand Down Expand Up @@ -356,7 +356,7 @@ def connect(self, host, port=830, timeout=None, unknown_host_cb=default_unknown_
if not (host or sock_fd):
raise SSHError("Missing host or socket fd")

# Optionaly, parse .ssh/config
# Optionally, parse .ssh/config
config = {}
if ssh_config is True:
ssh_config = "~/.ssh/config" if sys.platform != "win32" else "~/ssh/config"
Expand Down

0 comments on commit 52ef488

Please sign in to comment.