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.
When passing multiple private keys for security keys to asyncssh.connect using client_keys an exception is throw if the first key checked is not correct for the security key. ``` Traceback...
# Info In `asyncssh/connection.py`'s `_open_tunnel`, line 381-383 https://github.com/ronf/asyncssh/blob/46636d6f18b221141e659e2562c49b4a271befdb/asyncssh/connection.py#L375-L377 it doesn't seem to be able to have any user control on the `known_host` value? When using host connections with `known_hosts=None`, trying...
Hello I need to get the path of the chroot of the user from the database. This is how I use my sftp server to create server. ```python await asyncssh.create_server(...
Hi, I have a remote access app built as an internal tool and we use fido2 keys to authenticate this connection. However, as one of the primary places to run...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
With respect to below, ssh connection closes after the first command. This works with Juniper device but failed with Cisco devices. Am I missing something? It is looking like there...
Debian GNU/Linux 12 (bookworm) ```py async def sftp_dirs(): async with asyncssh.connect(socket.gethostbyname(hostname), username=username, password=password, kex_algs="+diffie-hellman-group-exchange-sha1", server_host_key_algs="+ssh-rsa", encryption_algs="+aes128-cbc") as conn: async with conn.start_sftp_client as sftp: return await sftp.listdir() async def main(): dirs...
Hi Devs, I'm currently developing [kirk](https://github.com/linux-test-project/kirk) SSH support using `asyncssh`. In particular, I would like to know what's the equivalent of `ssh -o UserKnownHostsFile=/dev/null`, so I can resolve the following...
Are there any plans for asyncssh to add paramiko-style options to set host key policy? I can't see any straightforward way within asyncssh to get a client to decide a...
Hi, I have two issues with vCenter Servers. First, when I try to add a startup_command using `create_process` the channel immediately closes. ```python conn.create_process(startup_command, stderr=asyncssh.STDOUT) ``` With the `startup_command` and...