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:
parent
73c06f97bd
commit
3bbb434bc8
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -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**.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue