From 3bbb434bc87dab39ce31955ca6ff9f61de58a2af Mon Sep 17 00:00:00 2001 From: shimataro Date: Sun, 26 Jan 2020 16:44:25 +0900 Subject: [PATCH] * add FAQ --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index df26ad8..049278a 100644 --- a/README.md +++ b/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**.