zanda

Results 12 comments of zanda

``` try: # Attempt SSH connection log.debug(f"Connecting to {host.hostname} with user {host.user}") if keys: for key in keys: log.debug(f"Using key: {key}") try: conn = await asyncssh.connect( host.hostname, port=host.port, username=host.user, password=host.password,...

``` Confirm user presence for key ECDSA-SK SHA256:gRPuqx63HwMVSgqnhWusKRMKAnQJJUdPc7icjeu+SCI sign_and_send_pubkey: signing failed for ECDSA-SK "/home/zanda/.ssh/id_ecdsa_sk_rk_asgatewayorange": device not found Confirm user presence for key ECDSA-SK SHA256:mo8hHpcQt/UbWJRZ0eGOX8Z/4LBxJd5duKfYdsU2Z9A User presence confirmed ``` SSH can...

> The "Security key credential not found" error generally means that the security key you are trying to use is not currently attached to the system. If you have multiple...

> I haven't done a lot of testing around this, but the expected behavior is that passing in `client_keys=[key1, key2, key3, ...]` should work with multiple of those keys being...

> Unfortunately, I only have one FIDO2 key here. My others are only capable of CTap1, and so there might be a difference in results depending on the key type....

I've looked a little further into this and the following script is able to extract the credential id and relaying party id from the private key file to compare with...

I've updated the script with the changes you suggested. I'll be using that as a work around to find the correct key file before calling asyncssh.connect however it would be...

``` async def my_fun(): conn = await asyncssh.connect( host.hostname, port=host.port, username=host.user, password=host.password, client_keys=keys, known_hosts=None, tunnel=tunnel ) listener = await conn.forward_socks(local_host, local_port) asyncio.create_task(listener.wait_closed()) while True: [other tasks] ``` Here's an example...

I'm currently using 2.17.0 from pypi. I'll try using a version built from the develop branch. It may take a while to see if that fixes it. It's a quite...

Issue hasn't reappeared since switching to the develop branch code. So closing for now. Thanks again for your help.