blob: 45010f0fb571cb649b76465ee4ae752d420c0d2e [file] [log] [blame]
from io import BytesIO
from typing import Any, Tuple
__version_info__ = None # type: Tuple[int, int, int]
class PasswordRequiredException(Exception):
pass
class SSHException(Exception):
pass
class RSAKey:
@classmethod
def from_private_key(cls, data: BytesIO) -> 'RSAKey': ...
class AutoAddPolicy:
pass
class SSHClient:
def __init__(self) -> None:
self.known_hosts = None # type: Any
def load_host_keys(self, path: str) -> None: ...
def set_missing_host_key_policy(self, policy: AutoAddPolicy) -> None: ...
def connect(self, *args: Any, **kwargs: Any): ...
def get_transport(self) -> Any: ...
def open_sftp(self) -> Any: ...