我正在使用flightplan.js和 digital ocean 并遵循此video ,但随后我收到此错误:
rendezvousNode $ fly production
✈ Running default:production
✈ Executing local task
localhost Copy files to remote hosts
localhost $ git ls-files
localhost ● ok
localhost $ rsync --files-from /var/folders/vf/38fsn66x58z04p9jkhkwbspm0000gn/T/ad78ad3f4a7594e09f3542d82fb76731 -az --rsh="ssh -p22" ./ <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c3a7a6b3afacba83f2f5f1edf1f7f0edf2f2fbedf1f0f7" rel="noreferrer noopener nofollow">[email protected]</a>:/tmp/rendeznode-1455004290008
localhost ● ok
✈ Local task finished after 17 s
✈ Connecting to '162.243.118.234'
● Error connecting to '162.243.118.234': All configured authentication methods failed
rendezvousNode $ ls
最佳答案
您需要将 SSH 私钥添加到 ssh-agent 并将密码存储在钥匙串(keychain)中。
$ ssh-add ~/.ssh/id_rsa
关于node.js - 使用 Digital Ocean 和 FlightPlan.js 时 Node 应用程序出错 - 所有配置的身份验证方法均失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35286697/