You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the command yasetnode user@localhost returns next error:
/home/my_user_name/miniconda3/lib/python3.11/site-packages/asyncssh/public_key.py", line 3216, in import_private_key_and_certs
raise KeyImportError('Invalid private key')
asyncssh.public_key.KeyImportError: Invalid private key
This error occurs because the .ssh/ directory contains both a private and public key. The AsyncSSH library processes all keys like a private (in decode_private), since the config file specifies the keys_dir path, and not path to a specific file with private key.
I think it should be stated in the documentation that keys_dir should store just private key.
The text was updated successfully, but these errors were encountered:
When I create a key using the commands:
the command
yasetnode user@localhost
returns next error:This error occurs because the .ssh/ directory contains both a private and public key. The AsyncSSH library processes all keys like a private (in decode_private), since the config file specifies the keys_dir path, and not path to a specific file with private key.
I think it should be stated in the documentation that keys_dir should store just private key.
The text was updated successfully, but these errors were encountered: