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

Add option to skip host key verification #2345

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jan 11, 2024

  1. Add skip_host_key_verification option

    Adds _skip_host_key_verification attribute to Transport and
    provides a set_skip_host_key_verification method to set or clear
    it (default: `False`).
    
    Adds skip_host_key_verification parameter to SSHClient.connect
    (default: `False`), which is passed directly to the transport.
    
    Skipping host key verification might be useful in very rare cases
    where it is not possible to verify the target's key, for example if
    it uses a legacy signature algorithm that is no longer supported by
    the client, e.g. in paramiko#2259.
    pghmcfc committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3e415b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1352ac View commit details
    Browse the repository at this point in the history