veeso / termscp

🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB
https://termscp.veeso.dev
MIT License
1.48k stars 45 forks source link

[Feature Request] - Use ssh-agent #226

Open tim-tx opened 6 months ago

tim-tx commented 6 months ago

Description

Based on some tests, I find that termscp is unable to handle encrypted ssh keys. Functionality added as a result of #123 and #126 fails when ssh key, e.g. ~/.ssh/id_ed25519, requires a passphrase.

Usually you would decrypt the key once and make it available to applications via ssh-agent.

If you try to use an encrypted ssh key, you will get this error: authentication failed (could not find any suitable RSA key to authenticate with). Also, in the message, an ssh key need not be an RSA key.

alexisfrjp commented 5 months ago

I also don't want to import all my ssh keys...why termscp can't get the keys from the agent like ssh or sftp CLI?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

kmplngj commented 4 months ago

This would be great. I really want to use my 1Password SSH Agent for this.