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.66k stars 48 forks source link

[Feature Request] Use id_rsa when password is empty #123

Closed Nainterceptor closed 2 years ago

Nainterceptor commented 2 years ago

Description

I'm able to ssh or scp to an host using my default id_rsa key.

Changes

When host is not in termscp ssh key storage, and password is not provided, try to use is_rsa (or previously ssh-added)

veeso commented 2 years ago

That could work with the IdentityFile parameter in the ssh configuration actually. If it's ok I put it in my backlog.

veeso commented 2 years ago

Implemented IdentityFile check in 64e3848c (0.10.0)