asyncssh
asyncssh copied to clipboard
AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework.
I am new to asyncssh. Arrived to it through pynwb -> fsspec -> sshfs path ;-) I am a heavy used of ssh-agent to keep my keys loaded (with timeout)...
I want to use asyncssh as server in a child process. Parent process use socketserver.ForkingTCPServer. Like this: ``` server = socketserver.ForkingTCPServer((host, port), SSHHandler) server.serve_forever() class SSHHandler(socketserver.StreamRequestHandler) def handle(self): # accept...
It'd be helpful if the library provided more flexibility on “dstfs” overriding for cases like copying file to s3 bucket. Would you consider this as worth implementing? I can do...
I'd like to use `asyncssh.scp` with a file created via `tempfile.NamedTemporaryFile`, like: ``` async def write_to_file( connection: asyncssh.SSHClientConnection, bys: bytes, remote_path: str ) -> None: with tempfile.NamedTemporaryFile() as tmp: tmp.write(bys)...
CentOS 9 Stream and Red Hat Enterprise Linux 9 have [SHA-1 signatures disabled by default](https://lists.fedoraproject.org/archives/list/[email protected]/thread/VVLHQAWI3IQ7NRLKMUHJ27JV3V2JAFDP/). Building asyncssh on these platforms results in many test suite failures due to lack of...
Hello there 👋, First, I wanted to thanks all the contributors to this project, especially @ronf for this amazing work. I have a use-case that I couldn't crack yet without...
Hello again, while trying to code an application using your library, I noticed that pyright/pylance doesn't consider the symbols in `asyncssh.*` to be exported. You have a `py.typed` file that...
This issue is similiar to #215 and #331, but I still can't get it working. My setup is pageant-compatible agent (KeeAgent 0.12.1). Just to show, that my environment is working:...
When trying to read a file from an SFTP server, I'm getting an error saying `asyncssh.sftp.SFTPFailure: The message [] is not extractable!` ``` File "[...]//lib/python3.7/site-packages/fsspec/asyn.py", line 86, in wrapper return...
Hi all! I try connect to cisco cp-6961. After ssh auth phone open some shell for internal auth (interactive). ``` python import asyncio, asyncssh, sys import logging from typing import...