Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Num TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr ListComp BinOpMod Str Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIn SubscriptLoad Call NameLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Dict If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call NameLoad NameLoad Str ListLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Raise Call NameLoad keyword NameLoad keyword NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Raise NameLoad orelse Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str decorator_list
N/A __future__ unicode_literals N/A os N/A paramiko django.utils six reviewboard.ssh.client SSHClient reviewboard.ssh.errors BadHostKeyError SSHAuthenticationError SSHError SSHInvalidPortError reviewboard.ssh.policy RaiseUnknownHostKeyPolicy N/A SSH_PORT 22 N/A N/A N/A urlparse N/A uses_netloc N/A urlparse uses_netloc N/A urllib_parse N/A urlparse urlparse N/A N/A N/A ImportError N/A N/A urllib.parse N/A uses_netloc N/A N/A urllib parse uses_netloc N/A urllib_parse N/A N/A urllib parse urlparse N/A ssh_uri_schemes N/A ssh sftp N/A N/A N/A uses_netloc extend ssh_uri_schemes humanize_key N/A N/A key N/A N/A N/A Returns a human-readable key as a series of hex characters. N/A N/A N/A : join N/A N/A %02x N/A ord c N/A c N/A N/A key get_fingerprint N/A is_ssh_uri N/A N/A url N/A N/A N/A Returns whether or not a URL represents an SSH connection. N/A N/A N/A N/A urllib_parse url N/A 0 ssh_uri_schemes N/A check_host N/A N/A netloc username password namespace N/A None None None N/A N/A 
    Checks if we can connect to a host with a known key.

    This will raise an exception if we cannot connect to the host. The
    exception will be one of BadHostKeyError, UnknownHostKeyError, or
    SCMError.
     django.conf settings N/A client N/A SSHClient namespace namespace N/A N/A N/A client set_missing_host_key_policy N/A RaiseUnknownHostKeyPolicy N/A kwargs N/A N/A N/A : netloc N/A N/A N/A hostname port N/A N/A netloc split : N/A N/A N/A port N/A int port N/A N/A N/A ValueError N/A N/A N/A SSHInvalidPortError port N/A N/A hostname netloc N/A port SSH_PORT N/A N/A getattr settings RUNNING_TEST False N/A N/A N/A N/A client set_missing_host_key_policy N/A N/A paramiko WarningPolicy N/A N/A kwargs N/A allow_agent False N/A N/A N/A N/A N/A client connect hostname port username username password password pkey N/A N/A client get_user_key kwargs N/A N/A N/A N/A paramiko BadHostKeyException N/A e N/A N/A N/A BadHostKeyError N/A e hostname N/A e key N/A e expected_key N/A N/A N/A paramiko AuthenticationException N/A e N/A N/A allowed_types N/A getattr e allowed_types N/A N/A N/A publickey allowed_types N/A N/A key N/A N/A client get_user_key N/A N/A key None N/A N/A SSHAuthenticationError allowed_types allowed_types user_key key N/A N/A N/A paramiko SSHException N/A e N/A N/A msg N/A N/A six text_type e N/A N/A msg No authentication methods available N/A N/A SSHAuthenticationError N/A N/A N/A SSHError msg N/A register_rbssh N/A N/A envvar N/A N/A N/A Registers rbssh in an environment variable.

    This is a convenience method for making sure that rbssh is set properly
    in the environment for different tools. In some cases, we need to
    specifically place it in the system environment using ``os.putenv``,
    while in others (Mercurial, Bazaar), we need to place it in ``os.environ``.
     N/A envvar N/A N/A envvar encode utf-8 N/A N/A N/A os putenv envvar rbssh N/A N/A N/A os environ N/A envvar rbssh N/A