Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in transport/ssh.py #237

Merged
merged 1 commit into from
Jun 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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