Added client and server support for the OpenSSH "hostkeys" extension.
When using known_hosts, clients can provide a handler which will be
called with the changes between the keys currently trusted in the
client's known hosts and those available on the server. On the server
side, an application can choose whether or not to enable the sending
of this host key information. Thanks go to Matthijs Kooijman for
getting me to take another look at how this might be supported.
Related to the above, AsyncSSH now allows the configuration of multiple
server host keys of the same type when the send_server_host_keys option
is enabled. Only the first key of each type will be used in the SSH
handshake, but the others can appear in the list of supported host keys
for clients to begin trusting, allowing for smoother key rotation.
Fixed logging and typing issues in SFTP high-level copy functions.
A mix of bytes, str, and PurePath entries are now supported in places
where a list of file paths is allowed, and the type signatures have
been updated to reflect that the functions accept either a single
path or a list of paths. Thanks go to GitHub user eyalgolan1337 for
reporting these issues.
Improved typing on SFTP listdir() function. Thanks go to Tim Stumbaugh
for contributing this change.
Reworked the config file parser to improve on a previous fix related
to handling key/value pairs with an equals delimiter.
Improved handling of ciphers deprecated in cryptography 43.0.0.
Thanks go to Guillaume Mulocher for reporting this issue.
Improved support for use of Windows pathnames in ProxyCommand.
Thanks go to GitHub user chipolux for reporting this issue and
investigating the existing OpenSSH parsing behavior.
Release 2.15.0 (3 Jul 2024)
Added experimental support for tunneling of TUN/TAP network interfaces
on Linux and macOS, allowing for either automatic packet forwarding or
explicit reading and writing of packets sent through the tunnel by the
application. Both callback and stream APIs are available.
Added support for forwarding terminal size and terminal size changes
when stdin on an SSHServerProcess is redirected to a local TTY.
Added support for multiple tunnel/ProxyJump hosts. Thanks go to Adam
Martin for suggesting this enhancement and proposing a solution.
... (truncated)
Commits
efb837c Bump version number up to 2.16.0 and update change log
4f3de9e Improve support for Windows pathnames when using ProxyCommand
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps asyncssh from 2.14.2 to 2.16.0.
Changelog
Sourced from asyncssh's changelog.
... (truncated)
Commits
efb837c
Bump version number up to 2.16.0 and update change log4f3de9e
Improve support for Windows pathnames when using ProxyCommanda50f9b3
Improve handling of deprecated ciphers68c2df7
Another update to config file parsing013818b
Update CONTRIBUTING to better reflect current branch strategy3a11339
Fix import order to make pylint happy87689ec
Anothter mypy change4b4aa73
Add default for SFTPClient.listdir3f5717e
Update for mypy 1.10.1b21e758
Fix logging and typing issues in SFTP high-level copy functionsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show