Skip to content

Commit

Permalink
Add documentation for the known_hosts option in redssh.RedSSH()
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-M committed May 8, 2022
1 parent e4421bc commit 2cc661a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redssh/redssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class RedSSH(object):
:type encoding: ``str``
:param terminal: Set the terminal sent to the remote server to something other than the default of ``'vt100'``.
:type terminal: ``str``
:param known_hosts: Set the known hosts file to a set location other than ``'~/.ssh/known_hosts'``, ``None`` is the default location.
:type known_hosts: ``str``
:param ssh_host_key_verification: Change the behaviour of remote host key verification. Can be set to one of the following values, ``strict``, ``warn``, ``auto_add`` or ``none``.
:type ssh_host_key_verification: :class:`redssh.enums.SSHHostKeyVerify`
:param ssh_keepalive_interval: Enable or disable SSH keepalive packets, value is interval in seconds, ``0`` is off.
Expand Down

0 comments on commit 2cc661a

Please sign in to comment.