1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* update FAQ

This commit is contained in:
shimataro 2020-01-26 14:27:56 +09:00
parent 74a4443661
commit 3f9b49a8d8
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -76,12 +76,13 @@ steps:
## FAQ ## FAQ
### What is the best way for copying files to multiple servers; SCP, SCP via bastion, SFTP, SFTP via bastion, rsync, and rsync via bastion? ### What is the best way for copying files; SCP / SCP via bastion / SFTP / SFTP via bastion / rsync / rsync via bastion
I recommend **rsync via bastion**. I recommend **rsync via bastion**.
It has some advantages over other methods: It has some advantages over other methods:
* You only need to use this action once in order to connect to bastion from VM. Other methods require to use it multiple times in order to connect to each targets. * You only need to use this action **only once** even if it is necessary to transfer to multiple targets.
* Other methods require to use it multiple times in order to connect to each targets.
* `rsync`: * `rsync`:
* is faster than others. * is faster than others.
* will **NOT** break files even if disconnected during sending. * will **NOT** break files even if disconnected during sending.