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

* add FAQ

This commit is contained in:
shimataro 2020-01-26 16:44:25 +09:00
parent 73c06f97bd
commit 3bbb434bc8
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -88,6 +88,16 @@ Check belows:
* The former is **HIGHLY** recommended for security reason.
* I'm planning to make `known-hosts` required in v2.
### How do I use encrypted SSH key by passphrase?
This action doesn't support encrypted key directly.
Here are some methods:
* decrypting key beforehand: best bet, and works any VM
* `sshpass` command: next best bet, but not supported in Windows
* `expect` command: please be careful not to expose passphrase to console
* `SSH_ASKPASS` environment variable: it may be troublesome
### Which one is the best way for transferring files, "SCP", "SCP via bastion", "SFTP", "SFTP via bastion", "rsync" or "rsync via bastion"?
I recommend **rsync via bastion**.