Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changes
for example for Oauth and other two-factor (2FA) or more factor authentication. Thanks @MattCatz .
* `ssh2.sftp_handle.SFTPHandle.closed` is now a public property indicating whether `ssh2.sftp_handle.SFTPHandle.close`
was called on a `SFTPHandle` or not.
* Added `ssh2.channel.Channel.signal` function for sending signals over SSH to an open channel - #221


1.1.2
Expand Down
30 changes: 15 additions & 15 deletions ssh2/channel.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions ssh2/channel.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,10 @@ cdef class Channel:
"""
Send signal to channel.

Signame must be a free form signal name without the leading SIG. Eg 'HUP', 'INT', 'TERM' and so forth.

See :py:mod:`signal.Signals`.

:param signame: Signal name to send to channel.
:type signame: str
"""
Expand Down