asyncssh icon indicating copy to clipboard operation
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.

Results 76 asyncssh issues
Sort by recently updated
recently updated
newest added

Starting with version 2.8.1 its seems SSHReader.readuntil() is not working when separator is long string. in short `output = await stdout.readuntil(separator='#')` is working `output = await stdout.readuntil(separator='(config)#')` is not working...

When connecting to SSH servers using a `rsa-sha2-256` or `rsa-sha2-512` key, asyncssh expects that the server returns the proper algorithm in `MSG_USERAUTH_PK_OK`, and fails here when the algorithm does not...

Hi, I upgraded to v2.12.0 from 2.11.0 and got the error below. It also caused the uploaded file to be corrupted: only about the second half of the file was...

Hey, I'm using asyncssh 2.11.0 for a while now and it works just great. With 2.12.0 the transfer _often_ gets stopped (not always) after a few writes and *put* raises...

Hi @ronf, thanks for this amazing project! I get Permission denied when trying to use AsyncSSH to connect to a remote which requires Two-Factor Authentication (2FA). ### Test Code ```...

As far as I understand, `SSHServerProcessFactory` can be an awaitable. I managed to fix a type error in my code base using the following diff: ```diff diff --git a/asyncssh/process.py b/asyncssh/process.py...

Hi, The run command output includes the banner set in the device and there is no way to suppress it. Code: ``` conn = await asyncssh.connect(host=self.request.deviceIPAddress, port=22, username=self.request.userName, password=cli_password, client_keys=None,...

For an regex, self.WAITFOR = r'.*[>#]\s*$' stdout.readuntil(self.WAITFOR) is being blocked and timed out. It happens in the version 2.12.0, while it works fine in the previous version 2.11.0.

Code to reproduce: ``` python import asyncio as aio import logging import sys import asyncssh as assh async def main(): async with assh.connect("localhost", known_hosts=None) as conn: await conn.run("cat ~/large.txt", check=True,...

Not sure if this relates to [issue 112](https://github.com/ronf/asyncssh/issues/112) but since it doesn't depend on the user which starts a process and the issue is closed, I give it a try....