使用数字海洋和飞行计划的节点应用程序出错.js - 所有配置的身份验证方法都失败



我正在使用飞行计划.js和数字海洋并按照此视频进行操作,但随后出现此错误:

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" ./ deploy@162.243.118.234:/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 代理中,并将密码存储在钥匙串中。

$ ssh-add ~/.ssh/id_rsa

最新更新