fast-data-transfer / fdt

FDT is an Application for Efficient Data Transfers which is capable of reading and writing at disk speed over wide area networks (with standard TCP). It is written in Java, runs an all major platforms and it is easy to use. FDT is based on an asynchronous, flexible multithreaded system and is using the capabilities of the Java NIO libraries.
https://fast-data-transfer.github.io/
Apache License 2.0
201 stars 45 forks source link

-sshKey option asks for a private key password even if it is not necessary #52

Open hontvari opened 3 years ago

hontvari commented 3 years ago

As a more general solution, instead of adding every possible ssh option to fdt, a single fdt option - similar to the rsync -e, --rsh=COMMAN option - and/or environment variable would be better, which may allow to specify a remote shell program along with options.

For example java -jar fdt.jar -e 'ssh -i otherkey' /hello host:/

Another advantage of this approach is that site specific configurations in ~/.ssh/config would have effect.